What are Object Services?
Object Services enables you to work with entities such as in-memory objects. In-memory objects are those that reside in the memory of your system—you can persist them to a persistent storage device if you need to. The Object Services Layer strives to eliminate the impedance mismatch that exists between the relational and the programming models. You can use Object Services for change tracking, data binding objects to data controls, inheritance, lazy loading, relationship navigation, and handling concurrency conflicts. Object Services support both LINQ and Entity SQL queries. The classes of the Object Services Layer are contained in the System.Data.Objects
and System.Data.Objects.DataClasses
namespaces. The ObjectContext
class is the core of the Object Services Layer. The Object Services Layer processes the LINQ to Entities and ObjectQuery
queries and then materializes the query results as objects. It also keeps track of the state information of the objects, the...