G
Guest
Hi,
We are implementing Data Transfer Objects (DTO) as Typed DataSets. This
means that we would have multiple typed DataSet classes that overlap
slightly, sharing tables between them.
The issue with typed datasets is that it inherits from the DataSet class and
hence a typed dataset class cannot inherit from any other class.
For example consider two datasets MemberDS and AgentDS both sharing a Person
table between them. By default each generated dataset would contain a schema
defining the Person table, meaning that if the table changes, you'll have to
change the schema in two different places. Ideally, you need a way to define
each type once; no matter how many times your application uses or extends
that type. That way, when the shared Person table changes, you'll only have
to modify your code in one place.
We are planning to write a tool that will take of the issues mentioned above.
Your help is welcome.
Thanks
We are implementing Data Transfer Objects (DTO) as Typed DataSets. This
means that we would have multiple typed DataSet classes that overlap
slightly, sharing tables between them.
The issue with typed datasets is that it inherits from the DataSet class and
hence a typed dataset class cannot inherit from any other class.
For example consider two datasets MemberDS and AgentDS both sharing a Person
table between them. By default each generated dataset would contain a schema
defining the Person table, meaning that if the table changes, you'll have to
change the schema in two different places. Ideally, you need a way to define
each type once; no matter how many times your application uses or extends
that type. That way, when the shared Person table changes, you'll only have
to modify your code in one place.
We are planning to write a tool that will take of the issues mentioned above.
Your help is welcome.
Thanks