Redigera

Dela via


DataServiceContext.GetEntityDescriptor(Object) Method

Definition

Gets the EntityDescriptor for the supplied entity object.

public:
 System::Data::Services::Client::EntityDescriptor ^ GetEntityDescriptor(System::Object ^ entity);
public System.Data.Services.Client.EntityDescriptor GetEntityDescriptor (object entity);
member this.GetEntityDescriptor : obj -> System.Data.Services.Client.EntityDescriptor
Public Function GetEntityDescriptor (entity As Object) As EntityDescriptor

Parameters

entity
Object

The object for which to return the entity descriptor.

Returns

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

Applies to