This is a discussion on pros and cons of Typed and untyped dataset within the C Sharp forums, part of the Programming Talk category; Hi, i want to know pros and cons of both Typed and Untyped dataset in detail. can we customize untyped ...
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
pros and cons of Typed and untyped dataset
Hi,
i want to know pros and cons of both Typed and Untyped dataset in detail. can we customize untyped dataset? What is benefit of Typed dataset? is there significant difference between performance of Typed and untyped dataset? is overhead in typed dataset is of XSD only or any else overhead is there? What is benefit of using Untyped dataset? Please give me some concret answers. thanks Vrushali |
|
|||
|
A strongly typed has some methods and properties in it that helps to make it more describing, does it still inherits from dataset. Also a "generated" strongly typed dataset is not easy to change. It is possible you will save a few cycles using untyped DataSets on the back end.
|
|
|||
|
The nature of a DataSet requires that it is either typed or untyped. By definition a typed DataSet is any DataSet that is derived from the base DataSet class that applies the information contained in the XSD to generate a typed class. Information from the schema that contains the tables, columns, and rows is generated and compiled into a new DataSet derived from the XSD and this promotes the DataSet to a first class object in the .NET Framework. The process of inheriting the typed DataSet from the base DataSet class means that the typed class assumes all functionality of the DataSet class and can be used with methods that take an instance of the DataSet class as a parameter. This is the opposite of the untyped DataSet that has no corresponding schema and is exposed only as a collection.
|