EntityFrameworkDataServiceProvider.HasDerivedTypes Method
Returns true if resourceType represents an Entity Type which has derived Entity Types, else false.
Namespace: System.Data.Services.Providers
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
'Declaration
Public Overridable Function HasDerivedTypes ( _
resourceType As ResourceType _
) As Boolean
'Usage
Dim instance As EntityFrameworkDataServiceProvider
Dim resourceType As ResourceType
Dim returnValue As Boolean
returnValue = instance.HasDerivedTypes(resourceType)
public virtual bool HasDerivedTypes(
ResourceType resourceType
)
public:
virtual bool HasDerivedTypes(
ResourceType^ resourceType
)
abstract HasDerivedTypes :
resourceType:ResourceType -> bool
override HasDerivedTypes :
resourceType:ResourceType -> bool
public function HasDerivedTypes(
resourceType : ResourceType
) : boolean
Parameters
- resourceType
Type: System.Data.Services.Providers.ResourceType
instance of the resource type in question.
Return Value
Type: System.Boolean
True if resourceType represents an Entity Type which has derived Entity Types, else false.
Implements
IDataServiceMetadataProvider.HasDerivedTypes(ResourceType)