Share via


ReflectionDataServiceProvider Class

Reflection based provider.

Inheritance Hierarchy

System.Object
  System.Data.Services.Providers.ReflectionDataServiceProvider

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

Syntax

'Declaration
Public Class ReflectionDataServiceProvider _
    Implements IDataServiceMetadataProvider, IDataServiceQueryProvider, IDataServiceProviderBehavior, IServiceProvider,  _
    IDisposable
'Usage
Dim instance As ReflectionDataServiceProvider
public class ReflectionDataServiceProvider : IDataServiceMetadataProvider, 
    IDataServiceQueryProvider, IDataServiceProviderBehavior, IServiceProvider, IDisposable
public ref class ReflectionDataServiceProvider : IDataServiceMetadataProvider, 
    IDataServiceQueryProvider, IDataServiceProviderBehavior, IServiceProvider, IDisposable
type ReflectionDataServiceProvider =  
    class 
        interface IDataServiceMetadataProvider 
        interface IDataServiceQueryProvider 
        interface IDataServiceProviderBehavior 
        interface IServiceProvider 
        interface IDisposable 
    end
public class ReflectionDataServiceProvider implements IDataServiceMetadataProvider, IDataServiceQueryProvider, IDataServiceProviderBehavior, IServiceProvider, IDisposable

The ReflectionDataServiceProvider type exposes the following members.

Constructors

  Name Description
Public method ReflectionDataServiceProvider Initializes a new System.Data.Services.Providers.ReflectionDataServiceProvider instance.

Top

Properties

  Name Description
Public property ContainerName Name of the EDM container
Public property ContainerNamespace Namespace name for the EDM container.
Public property CurrentDataSource The data source from which data is provided.
Public property IsNullPropagationRequired Gets a value indicating whether null propagation is required in expression trees.
Public property ProviderBehavior Instance of provider behavior that defines the assumptions service should make about the provider.
Public property ResourceSets Gets all available containers.
Public property ServiceOperations Returns all the service operations in this data source
Public property Types Returns all the types in this data source

Top

Methods

  Name Description
Public method Dispose() Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected method Dispose(Boolean) Disposes the current object.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FinalizeMetadataModel Called by the service to let the provider perform data model validation.
Public method GetDerivedTypes The 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 method GetEntityContainerAnnotations Return the list of custom annotation for the entity container with the given name.
Public method GetHashCode (Inherited from Object.)
Public method GetOpenPropertyValue Get the value of the open property.
Public method GetOpenPropertyValues Get the name and values of all the properties defined in the given instance of an open type.
Public method GetPropertyValue Get the value of the strongly typed property.
Public method GetQueryRootForResourceSet Returns the IQueryable that represents the resource set.
Public method GetResourceAssociationSet Gets the ResourceAssociationSet instance when given the source association end.
Public method GetResourceType Gets the ResourceType for the specified target.
Public method GetService Gets the service object of the specified type.
Public method GetType (Inherited from Object.)
Public method HasDerivedTypes Returns true if resourceType represents an Entity Type which has derived Entity Types, else false.
Public method InvokeServiceOperation Invoke the given service operation and returns the results.
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnCreateResourceProperty
Public method ToString (Inherited from Object.)
Public method TryResolveResourceSet Given the specified name, tries to find a resource set.
Public method TryResolveResourceType Given the specified name, tries to find a type.
Public method TryResolveServiceOperation Given the specified name, tries to find a service operation.

Top

Thread Safety

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

See Also

Reference

System.Data.Services.Providers Namespace