1 out of 4 rated this helpful - Rate this topic

System.Data.Objects Namespace

The System.Data.Objects namespace includes classes that provide access to the core functionality of Object Services. These classes enable you to query, insert, update, and delete data by working with strongly typed CLR objects that are instances of entity types. Object Services supports both Language-Integrated Query (LINQ) and Entity SQL queries against types that are defined in an Entity Data Model (EDM). Object Services materializes the returned data as objects and propagates object changes back to the data source. It also provides facilities for tracking changes, binding objects to controls, and handling concurrency. For more information, see Object Services Overview (Entity Framework).

  Class Description
Public class CompiledQuery Represents a cached LINQ to Entities query.
Public class CurrentValueRecord Provides access to the current values of object data.
Public class ObjectContext Provides facilities for querying and working with entity data as objects.
Public class ObjectParameter Represents a query parameter that is passed to an object query.
Public class ObjectParameterCollection Represents the query parameters as ObjectParameter objects that are defined in an ObjectQuery<T>.
Public class ObjectQuery Implements common functionality for queries against an Entity Data Model (EDM) using both LINQ to Entities and ObjectQuery<T>.
Public class ObjectQuery<T> Represents a typed query against an Entity Data Model (EDM) in a given object context.
Public class ObjectResult The base class for the results of an object query against an Entity Data Model (EDM).
Public class ObjectResult<T> Represents the result of an ObjectQuery<T> as an enumerable collection of objects.
Public class ObjectStateEntry Maintains state and key information for objects and relationships and change tracking for object properties.
Public class ObjectStateManager Maintains object state and identity management for entity type instances and relationship instances.
  Enumeration Description
Public enumeration MergeOption Specifies how objects being loaded into the object context are merged with objects already in the object context.
Public enumeration RefreshMode Specifies whether property changes made to objects tracked by Object Services are kept or replaced with property values from the data source.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ