Building and Using a LINQ for SQL Class Library with ASP.NET 2.0
page 3 of 9
by Scott Guthrie
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 14403/ 190

Step 2: Add a LINQ for SQL Data Model to the Project

Right-click on the project and choose the Add->New Item context menu item.  Scroll down in the dialog, select the "DLINQ Object" icon and give it an appropriate name (in this sample I am naming it "Northwind" since I am going to be modeling the Northwind database).

Figure 2

 

This will add a Northwind.dlinq file to your project and bring up its designer.

Figure 3

You can now use the designer to map your data models and entities graphically, as well as setup associations to map relationships between them.


View Entire Article

Article Feedback

Title:  
Name:  
Url: ( Optional )
Comment:  
Please add 8 and 2 and type the answer here:

User Comments

Title: How to integrate with XLINQ in eixsting applications   
Name: Senthil
Date: 12/17/2008 12:20:06 AM
Comment:
How to integrate with XLINQ in eixsting applications?
Title: nice   
Name: john
Date: 9/20/2006 5:21:27 AM
Comment:
nice.. that give me a point

Product Spotlight
Product Spotlight 
Learn More
.NET Tools
asp.net shopping cart
asp.net chart control






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2009 ASPAlliance.com  |  Page Processed at 1/7/2009 10:59:08 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search