October 2010
Intermediate to advanced
1920 pages
73h 55m
English
BuildProviderIn the previous section, we created a simple but useless BuildProvider. In this section, we create a complicated but useful BuildProvider.
In this section, we create a DataBuildProvider, which generates a data access component automatically from an XML file. For example, if you add the XML file in Listing 31.6 to your project, the DataBuildProvider generates the class in Listing 31.7 automatically.
Listing 31.6. App_Code\Movie.data

Listing 31.7. movie.data.72cecc2a.cs

The XML file in Listing ...
Read now
Unlock full access