Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Typed datasets
Message
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
Divers
Thread ID:
00827126
Message ID:
00827155
Vues:
16
A typed dataset is a subclass of Dataset that has the columns of the table mapped to properties of the subclass. If you View All Files in Visual Studio you can see the .cs (or .vb) file that the xsd.exe utility creates for your schema.

A typed dataset is a type-safe way of navigating the containership hierarchy of the dataset. Since the subclass maps the columns to properties and .NET is strongly typed, then the compiler can do the type checking.


>Can anyone point me to a good reference to help me understand typed datasets?
>
>My understanding to this point is that a typed dataset simply has an XML Schema associated with it. I'm doing this at runtime by using the ReadXmlSchema() method of the dataset.
>
>I'm a little vague as to the utility and advantages of using typed datasets, and it would seem that maintenance of the XML Schemas for each dataset used in a complex application could become a bit of a headache. I want to learn more.
>
>Thanks.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform