Search | View Active Threads | View New Posts
Current Time: 01:45 AM


+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2016

    Thumbs up What is data context class? Explain its role?

    Data context class is a LINQ to SQL class that acts as a medium between a SQL server database and LINQ to SQL entities classes mapped to that database. It has following responsibilities:

    1. Contains the connection string information, methods to connect to the database and manipulating the data in the database.
    2. Contains several methods that send updated data from LINQ to SQL entity classes to the database.
    3. Methods can also be mapped to stored procedures and functions.
    4. With data context, we can perform select, insert, update and delete operations over the data in the database.

  2. #2
    The context class in Entity Framework is a class which derives from DbContext in EF 6 and EF Core both. It is an important class in Entity Framework, which represents a session with the underlying database. ... The context class is used to query or save data to the database.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts


Domain Escrow Services Domain Registrar, Marketplace and Revenue Optimizer
Trellian Direct Search Network

Industry Events

4-6 March 2019
Las Vegas

15-18 September 2018
MERGE 2018
Orlando, FL

18-20 July 2018
Affiliate World Europe
Barcelona, Spain


How do you invest in domains?
to see the Poll results!
Domain Tools | Domain Directory | Registrar Stats | Domain Glossary | Industry Events | FAQ | Members | Terms | RSS | Link To Us | Advertise | Contact Us
Other Related Trellian Services: Registrar  | Marketplace  | Domain Manager  |  Free Search Toolbar  |  Free Webpage Builder  |  Keyword Research
Direct Search Navigation  |  Search Engine Submission and SEO Tools
Copyright © 2002 a Trellian Company 2014 Bronze Sponsor - Internet Commerce Association