Databases Reference
In-Depth Information
Figure 8-15
Now that you have seen some of the core features around creating a Data Source View, you will look at
the XML code generated by the designer.
Data Source View Code Behind
All of the source files created in a Report Model project are stored as XML files. This is important for a
couple of reasons. First, the use of XML allows developers to easily manipulate files through program-
matic interfaces such as the .NET System.Xml assembly. Second, Report Model developers can now use
standard source control systems such as Visual Source Safe to store their projects. This offers the advan-
tage of versioning to Business Intelligence projects. If a mistake is made while updating a file, users of
a source control system can simply revert their changes and avoid costly and sometimes error-prone
rework.
In this section, you will take a look at the XML behind a Data Source View. If you have worked with
Typed data sets in ADO.NET, the XML schema should look very familiar. To view the XML behind a
Data Source View, right-click on the AdventureWorksDW DSV.dsv file in the Solution Explorer and click
View Code. Figure 8-16 illustrates viewing the XML behind the AdventureWorksDW DSV created earlier
in this chapter.
Search WWH ::




Custom Search