Tuesday, June 29, 2004

Using Annotations with a Typed DataSet 

Annotations enable you to modify the names of the elements in your typed DataSet without modifying the underlying schema. Modifying the names of the elements in your underlying schema would cause the typed DataSet to refer to objects that do not exist in the data source, as well as losing a reference to the objects that do exist in the data source. Using annotations, you can customize the names of objects in your typed DataSet with more meaningful names, making code more readable and your typed DataSet easier for clients to use, while leaving underlying schema intact.
See also: Navigating Multiple Related Tables in an ADO.NET Dataset

Links to this post:


Comments: Post a Comment

This page is powered by Blogger. Isn't yours?