Kopīgot, izmantojot


MetadataExtensions.GetEntityMetadata Method

Definition

Returns the Metadata for an entity from Dataverse, defaults to basic data only.

public static Microsoft.Xrm.Sdk.Metadata.EntityMetadata GetEntityMetadata (this Microsoft.PowerPlatform.Dataverse.Client.ServiceClient serviceClient, string entityLogicalname, Microsoft.Xrm.Sdk.Metadata.EntityFilters queryFilter = Microsoft.Xrm.Sdk.Metadata.EntityFilters.Default);
static member GetEntityMetadata : Microsoft.PowerPlatform.Dataverse.Client.ServiceClient * string * Microsoft.Xrm.Sdk.Metadata.EntityFilters -> Microsoft.Xrm.Sdk.Metadata.EntityMetadata
<Extension()>
Public Function GetEntityMetadata (serviceClient As ServiceClient, entityLogicalname As String, Optional queryFilter As EntityFilters = Microsoft.Xrm.Sdk.Metadata.EntityFilters.Default) As EntityMetadata

Parameters

serviceClient
ServiceClient

ServiceClient

entityLogicalname
String

Logical name of the entity

queryFilter
EntityFilters

filter to apply to the query, defaults to default entity data.

Returns

Applies to