Export (0) Print
Expand All

IDataServiceMetadataProvider.GetDerivedTypes Method

Attempts to return all types that derive from the specified resource type.

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

IEnumerable<ResourceType> GetDerivedTypes(
	ResourceType resourceType
)

Parameters

resourceType
Type: System.Data.Services.Providers.ResourceType
The base ResourceType.

Return Value

Type: System.Collections.Generic.IEnumerable<ResourceType>
An IEnumerable<T> collection of derived ResourceType objects.

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

Show:
© 2014 Microsoft