G
Guest
I've seen code snippets where ADO.NET datasets are created programmatically as their own class, which inherits from System.Data.DataSet. The code usually resembles, the following with tables, relationships and constraints created in the user defined class.
class DataSet : System.Data.DataSet
{
}
I've been searching for documentation on how to do this and what the requirements are for constructors and methods. Also, what are the practical applications for creating a dataset programmatically this way, beyond having full controll over the object. However, I haven't been very successful in finding information.
I would appreciate any links to reference material that anyone could send my way. Thanks in advance!
class DataSet : System.Data.DataSet
{
}
I've been searching for documentation on how to do this and what the requirements are for constructors and methods. Also, what are the practical applications for creating a dataset programmatically this way, beyond having full controll over the object. However, I haven't been very successful in finding information.
I would appreciate any links to reference material that anyone could send my way. Thanks in advance!