Visual Studio 2008 Kicks Off: Figure 7: Map Relational Tables to Entities Quickly.

Drag a table icon from Server Explorer to LINQ to SQL's O/R Designer surface to add a corresponding entity class widget for each database table, as shown here for the original Northwind sample database. Lines connecting the widgets represent associations which correspond to the tables' foreign key relationships. One:many associations are called EntitySets; reciprocal many:one assocations are EntityRefs. The O/R Designer also has the capability to specify stored procedures for retrieving entities and updating tables.Visual Studio 2008 Kicks Off: Figure 7: Map Relational Tables to Entities Quickly.
comments powered by Disqus
Upcoming Events

.NET Insight

Sign up for our newsletter.

I agree to this site's Privacy Policy.