DataServiceProvider.DSPMetadata.GetDerivedTypes C# (CSharp) Method

GetDerivedTypes() public method

Returns list of all types derived (directly or indirectly) from the specified resourceType.
Note that this method will get called even if the HasDerivedTypes returns false. The implementation should be reasonably fast as it can be called to process a query request. (Aside from being called for the $metadata processing).
public GetDerivedTypes ( System.Data.Services.Providers.ResourceType resourceType ) : System.Collections.Generic.IEnumerable
resourceType System.Data.Services.Providers.ResourceType The resource type to determine derived types for.
return System.Collections.Generic.IEnumerable
        public System.Collections.Generic.IEnumerable<ResourceType> GetDerivedTypes(ResourceType resourceType)
        {
            // We don't support type inheritance yet
            return new ResourceType[0];
        }