Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DataServiceContext.GetEntityDescriptor Method

Gets the EntityDescriptor for the supplied entity object.

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.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.
Show:
© 2015 Microsoft