DataServiceContext.GetEntityDescriptor Method (Object)

 

Gets the EntityDescriptor for the supplied entity object.

Namespace:   System.Data.Services.Client
Assembly:  System.Data.Services.Client (in System.Data.Services.Client.dll)

public EntityDescriptor GetEntityDescriptor(
	object entity
)

Parameters

entity
Type: System.Object

The object for which to return the entity descriptor.

Return Value

Type: System.Data.Services.Client.EntityDescriptor

The EntityDescriptor instance for the entity, or null if an EntityDescriptor does not exist for the object.

.NET Framework
Available since 3.5
Silverlight
Available since 4.0
Return to top
Show: