Building and Using a LINQ for SQL Class Library with ASP.NET 2.0
page 1 of 9
Published: 27 Aug 2006
Unedited - Community Contributed
Abstract
In this article Scott explores how to build and use a LINQ for SQL Class Library using ASP.NET 2.0.
by Scott Guthrie
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 48353/ 148

Introduction

Republished with Permission - Original Article

In my previous posts on doing data access using LINQ and ASP.NET, I used the built-in SQLMetal command-line utility to automatically generate the data model classes for my LINQ data classes.   Recently, I have been using the LINQ for SQL (aka DLINQ) designer to define my data models and have been really impressed with how easily it enables me to build a re-usable class library that nicely encapsulates my data and business logic.

The below walkthrough demonstrates how you can get started with it yourself.  Simply install the LINQ May CTP download on top of VS 2005 and you can then follow all of the steps below yourself.  For the sample below I am using C#, but everything works equally well in VB.


View Entire Article

User Comments

Title: ras   
Name: rasd
Date: 5/5/2012 4:29:50 AM
Comment:
dfasd
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






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


©Copyright 1998-2014 ASPAlliance.com  |  Page Processed at 9/30/2014 5:54:53 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search