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
- Create connection to database.
- It submits and retrieves object to database.
- Converts objects to SQL queries and vice versa
No comments:
Post a Comment