So to understand you correctly, you have your own custom tool to help modify the code
generated by the XSD to class generator? I thought about replacing or not using this
tool because it didn't do everything I wanted. What do you mean by maintaining
metadata in the schema, using your own name
One last thing. Depending on how integrated you want your tools to be, you
can "inject" your modifications to the dataset code via:
- regular expressions. Typically I'm searching for individual datarow
classes, and injecting my interfaces at that point. The nice thing about
interfaces is you c
On Thu, 30 May 2002 12:44:28 -0700, Loc Nguyen <[EMAIL PROTECTED]> wrote:
>board about this subject, I think it may be more trouble. It sounds like
>the code generation is very troublesome. Someone was asking how to insert
>logic into the generated code without it being overwritten, and he neve
I thought about this, but after reading some of the past posting on this
board about this subject, I think it may be more trouble. It sounds like
the code generation is very troublesome. Someone was asking how to insert
logic into the generated code without it being overwritten, and he never
got
T] Checked casting between DataSet and its children
>
>
> I am investigating deriving DataSet for business objects.
> However, since datasets may contain several datatables, I
> need to ensure that the dataset has a specific table. When
> casting from a dataset to one of my busines
> ...When casting from a dataset to one of my business
> objects, I would like to be able to intercept it and check if this table
> exist. If it does not, I'd like to throw an invalid cast exception.
> Can
> this be done?
You can do this by providing explicit and implicit conversion
operators fo
I am investigating deriving DataSet for business objects. However, since
datasets may contain several datatables, I need to ensure that the dataset
has a specific table. When casting from a dataset to one of my business
objects, I would like to be able to intercept it and check if this table
exi