DataServiceContext.GetEntityDescriptor(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the EntityDescriptor for the supplied entity object.
public virtual Microsoft.OData.Client.EntityDescriptor GetEntityDescriptor (object entity);
abstract member GetEntityDescriptor : obj -> Microsoft.OData.Client.EntityDescriptor
override this.GetEntityDescriptor : obj -> Microsoft.OData.Client.EntityDescriptor
Public Overridable 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.