DomainServiceDescriptionProvider.LookupIsEntityType 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.

Namespace:  System.ServiceModel.DomainServices.Server
Assembly:  System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)

Syntax

'Declaration
Public Overridable Function LookupIsEntityType ( _
    type As Type _
) As Boolean
'Usage
Dim instance As DomainServiceDescriptionProvider
Dim type As Type
Dim returnValue As Boolean

returnValue = instance.LookupIsEntityType(type)
public virtual bool LookupIsEntityType(
    Type type
)
public:
virtual bool LookupIsEntityType(
    Type^ type
)
abstract LookupIsEntityType : 
        type:Type -> bool 
override LookupIsEntityType : 
        type:Type -> bool 
public function LookupIsEntityType(
    type : Type
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the type is considered an entity; otherwise, false. The base implementation returns false.

Exceptions

Exception Condition
ArgumentNullException

type is nulla null reference (Nothing in Visual Basic).

See Also

Reference

DomainServiceDescriptionProvider Class

System.ServiceModel.DomainServices.Server Namespace