Monday, May 7, 2012

Object Relational Designer (O/R Designer)


Object Relational Designer (O/R Designer)

The O/R Designer is an editor which can be used by developers to create the LINQ to SQL mapping. In Visual Studio 2008, the O/R designer automatically opens up when we add an item of type LINQ to SQL Classes, once an item of type LINQ to SQL Classes is added and saved a DataContext is automatically created which can be used by the developers to access the objects.

The O/R Designer has 2 panels.  The Left side panel is the designer panel where we can drag and drop the required tables from the Server explorer; the designer will internally generate the Object table mapping. The right side panel also called the methods panel, is used to perform advanced configurations like mapping to stored procedures or functions from the database.

The O/R Designer looks as follows.


Related Post







Search Flipkart Products:
Flipkart.com

No comments: