DataContext represents LINQ to SQL O / R map - LINQ
Q. Which of the following objects represents a LINQ to SQL O / R map?- Published on 31 Aug 15a. DataSet
b. XElement
c. ObjectContext
d. DataContext
ANSWER: DataContext
A DataContext object represents a LINQ to SQL O / R map. ORM stands for Object-Relational Mapping. It is also called as O / R mapping.
DataContext class is used to connect with database, retrieve objects from it, and submit changes back to it.