GetEntityBaseType Method

DomainServiceDescription.GetEntityBaseType Method

WCF RIA Services

[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.]

Gets the base type of the specified entity type.

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

public Type GetEntityBaseType(
	Type entityType
)

Parameters

entityType
Type: System.Type
The entity type whose base type is required.

Return Value

Type: System.Type
The base type or null if the specified entityType has no visible base types.

The returned base type is the closest base type of the specified entity type that is exposed by the domain service. The entity hierarchy may contain types that are not exposed, and this method skips those types.

Show:
© 2016 Microsoft