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 | |
---|---|---|
ReflectionDataServiceProvider | Initializes a new System.Data.Services.Providers.ReflectionDataServiceProvider instance. |
Top
Properties
Name | Description | |
---|---|---|
ContainerName | Name of the EDM container | |
ContainerNamespace | Namespace name for the EDM container. | |
CurrentDataSource | The data source from which data is provided. | |
IsNullPropagationRequired | Gets a value indicating whether null propagation is required in expression trees. | |
ProviderBehavior | Instance of provider behavior that defines the assumptions service should make about the provider. | |
ResourceSets | Gets all available containers. | |
ServiceOperations | Returns all the service operations in this data source | |
Types | Returns all the types in this data source |
Top
Methods
Name | Description | |
---|---|---|
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
Dispose(Boolean) | Disposes the current object. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
FinalizeMetadataModel | Called by the service to let the provider perform data model validation. | |
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). | |
GetEntityContainerAnnotations | Return the list of custom annotation for the entity container with the given name. | |
GetHashCode | (Inherited from Object.) | |
GetOpenPropertyValue | Get the value of the open property. | |
GetOpenPropertyValues | Get the name and values of all the properties defined in the given instance of an open type. | |
GetPropertyValue | Get the value of the strongly typed property. | |
GetQueryRootForResourceSet | Returns the IQueryable that represents the resource set. | |
GetResourceAssociationSet | Gets the ResourceAssociationSet instance when given the source association end. | |
GetResourceType | Gets the ResourceType for the specified target. | |
GetService | Gets the service object of the specified type. | |
GetType | (Inherited from Object.) | |
HasDerivedTypes | Returns true if resourceType represents an Entity Type which has derived Entity Types, else false. | |
InvokeServiceOperation | Invoke the given service operation and returns the results. | |
MemberwiseClone | (Inherited from Object.) | |
OnCreateResourceProperty | ||
ToString | (Inherited from Object.) | |
TryResolveResourceSet | Given the specified name, tries to find a resource set. | |
TryResolveResourceType | Given the specified name, tries to find a type. | |
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.