DomainServiceDescriptionProvider.IsEntityType Method
[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]
Determines whether the specified type is an entity type by calling the LookupIsEntityType method of all DomainServiceDescriptionProvider objects in the provider chain for the domain service.
Namespace: System.ServiceModel.DomainServices.Server
Assembly: System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)
Syntax
'Declaration
Protected Friend Function IsEntityType ( _
type As Type _
) As Boolean
'Usage
Dim type As Type
Dim returnValue As Boolean
returnValue = Me.IsEntityType(type)
protected internal bool IsEntityType(
Type type
)
protected public:
bool IsEntityType(
Type^ type
)
member IsEntityType :
type:Type -> bool
function IsEntityType(
type : Type
) : boolean
Parameters
- type
Type: System.Type
The type to check.
Return Value
Type: System.Boolean
true if the type is an entity; otherwise, false.