Export (0) Print
Expand All
1 out of 1 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 DbUpdatableDataRecord Provides access to the original values of object data. The DbUpdatableDataRecord implements methods that allow updates to the original values of an object.
Public class EntityFunctions Provides common language runtime (CLR) methods that expose conceptual model canonical functions in LINQ to Entities queries. For information about canonical functions, see Canonical Functions.
Public class ObjectContext Provides facilities for querying and working with entity data as objects.
Public class ObjectContextOptions Defines options that affect the behavior of the ObjectContext.
Public class ObjectMaterializedEventArgs Contains the data for the ObjectMaterialized event.
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 a conceptual model using both LINQ to Entities and ObjectQuery<T>.
Public class ObjectQuery<T> Represents a typed query against a conceptual model in a given object context.
Public class ObjectResult Represents a class that implements IEnumerable and IDisposable. Instance of this class is returned from ObjectQuery.Execute method.
Public class ObjectResult<T> Represents the result of an ObjectQuery<T> as an enumerable collection of objects.
Public class ObjectSet<TEntity> Represents a typed entity set that is used to perform create, read, update, and delete operations.
Public class ObjectStateEntry Represents either an entity, entity stub or relationship.
Public class ObjectStateManager Maintains object state and identity management for entity type instances and relationship instances.
Public class OriginalValueRecord Provides access to the original values of object data.
Public class ProxyDataContractResolver This class helps resolve proxy types that were created for persistence-ignorant data classes to the actual types of persistence-ignorant objects.
  Interface Description
Public interface IObjectSet<TEntity> Provides functionality to allow making modifications to a set of data objects.
  Delegate Description
Public delegate ObjectMaterializedEventHandler Represents the method that will handle the ObjectMaterialized event of the ObjectContext.
  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.
Public enumeration SaveOptions Specifies the behavior of the object context when the SaveChanges(SaveOptions) method is called.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.