संपादित करें

इसके माध्यम से साझा किया गया


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).

Classes

CompiledQuery

Represents a cached LINQ to Entities query.

CurrentValueRecord

Provides access to the current values of object data.

DbUpdatableDataRecord

Provides access to the original values of object data. The DbUpdatableDataRecord implements methods that allow updates to the original values of an object.

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.

ObjectContext

Provides facilities for querying and working with entity data as objects.

ObjectContextOptions

Defines options that affect the behavior of the ObjectContext.

ObjectMaterializedEventArgs

Contains the data for the ObjectMaterialized event.

ObjectParameter

Represents a query parameter that is passed to an object query.

ObjectParameterCollection

Represents the query parameters as ObjectParameter objects that are defined in an ObjectQuery<T>.

ObjectQuery

Implements common functionality for queries against a conceptual model using both LINQ to Entities and ObjectQuery<T>.

ObjectQuery<T>

Represents a typed query against a conceptual model in a given object context.

ObjectResult

Represents a class that implements IEnumerable and IDisposable. Instance of this class is returned from ObjectQuery.Execute method.

ObjectResult<T>

Represents the result of an ObjectQuery<T> as an enumerable collection of objects.

ObjectSet<TEntity>

Represents a typed entity set that is used to perform create, read, update, and delete operations.

ObjectStateEntry

Represents either an entity, entity stub or relationship.

ObjectStateManager

Maintains object state and identity management for entity type instances and relationship instances.

OriginalValueRecord

Provides access to the original values of object data.

ProxyDataContractResolver

This class helps resolve proxy types that were created for persistence-ignorant data classes to the actual types of persistence-ignorant objects.

Interfaces

IObjectSet<TEntity>

Provides functionality to allow making modifications to a set of data objects.

Enums

MergeOption

Specifies how objects being loaded into the object context are merged with objects already in the object context.

RefreshMode

Specifies whether property changes made to objects tracked by Object Services are kept or replaced with property values from the data source.

SaveOptions

Specifies the behavior of the object context when the SaveChanges(SaveOptions) method is called.

Delegates

ObjectMaterializedEventHandler

Represents the method that will handle the ObjectMaterialized event of the ObjectContext.