Generating Dependency Graphs

Another interesting addition, new to VS 2010, is the Dependency Graph generation. Basically this feature enables generating a WPF-based, graphical, browsable view of dependencies between objects in your projects. Dependency graphs can be generated at assembly level (including all types), namespace level (including only types from a given namespace), or at class level. To demonstrate this feature, create a new console project and add the following items:

• An Entity Data Model mapping the Customers, Orders and Order_Details tables from the Northwind database (see Chapter 27, “Introducing the ADO.NET Entity Framework,” for a recap).

• A new class named Helper, whose purpose is just offering a simple method returning ...

Get Visual Basic® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.