LINQ to SQL and ADO.NET Data Services: Working Together
page 1 of 5
Published: 10 Jun 2009
Abstract
In this article, Sergey examines the relationship between LINQ, SQL and ADO.NET data services with the help of a sample project. He begins by demonstrating the procedures used to detect key fields in a data model and to update data including the steps required to implement the IUpdatable interface.
by Sergey Zwezdin
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 34332/ 86

Introduction

The LINQ to SQL platform works faster than the ADO.NET Entity Framework. It occurs because LINQ to SQL has no difficult mappings which exist in ADO.NET Entity Framework. However, many examples, which are shown in ADO.NET Data Services, are based on ADO.NET Entity Framework. It is logical, that in the loaded applications, the power of ADO.NET Entity Framework is not important; however, a speed criterion is very important. ADO.NET Data Services platform does not impose constraints on data access technology and also allows construction of web service on the basis of LINQ to SQL.

However, in practice, while using ADO.NET Data Services together with LINQ to SQL, some questions may appear. The goal of this article is to clear up such questions and to use ADO.NET Data Services and LINQ to SQL correctly.

There are two problems which appear while using LINQ to SQL as a data access platform for service of ADO.NET Data Services: detection of key fields in data model and updating of data.


View Entire Article

User Comments

Title: Mr   
Name: Nafees Khan
Date: 12/5/2012 11:36:01 PM
Comment:
I need to linq simple example......
Title: Mr   
Name: Ravi Bhushan Singh(Patna)
Date: 9/19/2010 9:49:15 PM
Comment:
i need to code of linq
Title: IT   
Name: Shedeep
Date: 8/24/2010 1:39:59 AM
Comment:
I need to learn more code
Title: IT   
Name: chhon
Date: 4/22/2010 3:56:02 AM
Comment:
I need to learn more any code such
Title: santhanakumar   
Name: kumar
Date: 2/16/2010 8:50:03 AM
Comment:
yes,i want see u some of the document in development
Title: LINQ to SQL and ADO.NET Data Services: Working Together   
Name: Jagdeep Mankotia
Date: 2/2/2010 4:00:21 AM
Comment:
Very good article helpful.

Covered almost all the important things.
Thanks

== Jagdeep Mankotia
Title: Excellent Article   
Name: Damian
Date: 1/18/2010 2:19:21 AM
Comment:
Excellent article and clear example of how to write a nice generic IUpdatable Interface. Thanks very much, just what I needed, (I was stuck)
Title: Good Article   
Name: Hamid Raza Saleemi
Date: 6/16/2009 8:51:58 PM
Comment:
Good and conceptual article for Linq and Ado.net addressing the lot of core issues






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


©Copyright 1998-2014 ASPAlliance.com  |  Page Processed at 9/21/2014 2:02:18 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search