Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataServiceContext.GetEntityDescriptor Method (Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: