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
    Location
    Delhi
    Posts
    38

    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
  

Sponsors

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

Industry Events

4-6 March 2019
LeadsCon
Las Vegas

15-18 September 2018
MERGE 2018
Orlando, FL

18-20 July 2018
Affiliate World Europe
Barcelona, Spain

Poll

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