Export (0) Print
Expand All

EntityFrameworkDataServiceProvider Class

Entity Framework based provider.

System.Object
  System.Data.Services.Providers.EntityFrameworkDataServiceProvider

Namespace:  System.Data.Services.Providers
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

public class EntityFrameworkDataServiceProvider : IDataServiceMetadataProvider, 
	IDataServiceQueryProvider, IDataServiceUpdateProvider2, IDataServiceUpdateProvider, IUpdatable, IDataServiceProviderBehavior, 
	IDataServiceEntityFrameworkProvider, IServiceProvider, IDisposable

The EntityFrameworkDataServiceProvider type exposes the following members.

  NameDescription
Public methodEntityFrameworkDataServiceProviderInitializes a new System.Data.Services.Providers.EntityFrameworkDataServiceProvider instance.
Top

  NameDescription
Public propertyContainerNameName of the EDM container
Public propertyContainerNamespaceNamespace name for the EDM container.
Public propertyCurrentDataSourceThe data source from which data is provided.
Public propertyEdmSchemaVersionGets the metadata schema version.
Public propertyIsNullPropagationRequiredGets a value indicating whether null propagation is required in expression trees.
Public propertyProviderBehaviorInstance of provider behavior that defines the assumptions service should make about the provider.
Public propertyResourceSetsGets all available containers.
Public propertyServiceOperationsReturns all the service operations in this data source
Public propertyTypesReturns all the types in this data source
Top

  NameDescription
Public methodAddReferenceToCollectionAdds the given value to the collection
Public methodClearChangesRevert all the pending changes.
Public methodCreateResourceCreates the resource of the given type and belonging to the given container
Public methodDeleteResourceDelete the given resource
Public methodDispose()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)Disposes the current object.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFinalizeMetadataModelCalled by the service to let the provider perform data model validation.
Public methodGetDerivedTypesThe method must return a collection of all the types derived from resourceType. The collection returned should NOT include the type passed in as a parameter. An implementer of the interface should return null if the type does not have any derived types (ie. null == no derived types).
Public methodGetEntityContainerAnnotationsReturn the list of custom annotation for the entity container with the given name.
Public methodGetETagPropertiesGiven a resource container and resource type, gets the list of ResourceProperties that are part of the ETag.
Public methodGetHashCode (Inherited from Object.)
Public methodGetOpenPropertyValueGet the value of the open property.
Public methodGetOpenPropertyValuesGet the name and values of all the properties defined in the given instance of an open type.
Public methodGetPropertyValueGet the value of the strongly typed property.
Public methodGetQueryRootForResourceSetReturns the IQueryable that represents the resource set.
Public methodGetResourceGets the resource of the given type that the query points to
Public methodGetResourceAssociationSetGets the ResourceAssociationSet instance when given the source association end.
Public methodGetResourceTypeGets the ResourceType for the specified target.
Public methodGetServiceGets the service object of the specified type.
Public methodGetType (Inherited from Object.)
Public methodGetValueGets the value of the given property on the target object
Public methodHasDerivedTypesReturns true if resourceType represents an Entity Type which has derived Entity Types, else false.
Public methodInvokeServiceOperationInvoke the given service operation and returns the results.
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnCreateResourceProperty
Public methodRemoveReferenceFromCollectionRemoves the given value from the collection
Public methodResetResourceResets the value of the given resource to its default value
Public methodResolveResourceReturns the actual instance of the resource represented by the given resource object
Public methodSaveChangesSaves all the pending changes made till now
Public methodScheduleInvokableQueues up the invokable to be invoked during IUpdatable.SaveChanges().
Public methodSetConcurrencyValuesPasses the etag value for the given resource.
Public methodSetReferenceSets the value of the given reference property on the target object
Public methodSetValueSets the value of the given property on the target object
Public methodToString (Inherited from Object.)
Public methodTryResolveResourceSetGiven the specified name, tries to find a resource set.
Public methodTryResolveResourceTypeGiven the specified name, tries to find a type.
Public methodTryResolveServiceOperationGiven the specified name, tries to find a service operation.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft