What is the DataContext in LINQ [Resolved]

Posted by Rajeshk under Others on 12/7/2012 | Points: 10 | Views : 1247 | Status : [Member] | Replies : 2
Can any one tell me the Use of the DataContext in the case of LINQ

Thanks&Regards
rajeshkommireddy@gmail.com



Responses

Posted by: Saratvaddilli on: 12/8/2012 [Member] [MVP] Bronze | Points: 50

Up
0
Down

Resolved
good answer Bhupentiwari ,

for further information please go through this article

http://www.c-sharpcorner.com/uploadfile/dhananjaycoder/datacontext-in-linq/

Thanks and Regards
V.SaratChand
Show difficulties that how difficult you are

Rajeshk, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bhupentiwari on: 12/8/2012 [Member] Starter | Points: 25

Up
0
Down
In LINQ database connection is created by DATACONTEXT

DATACONTEXT class performs the following three tasks:
1. Create connection to database.
2. It submits and retrieves object to database.
3. Converts objects to SQL queries and vice versa.

Thanks n Regards
Bhupendra Tiwari

Rajeshk, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response