DataContext in LINQ - Online Free Computer Tutorials.

'Software Development, Games Development, Mobile Development, iOS Development, Android Development, Window Phone Development. Dot Net, Window Services,WCF Services, Web Services, MVC, MySQL, SQL Server and Oracle Tutorials, Articles and their Resources

Sunday, June 26, 2011

DataContext in LINQ

To make a communication with Database a connection must be made. In LINQ this connection is created by DataContext.

Essentially Data Context class performs below two tasks

  1. Create connection to database.
  2. It submits and retrieves object to database.
  3. Converts objects to SQL queries and vice versa

No comments:

Post a Comment