MetadataExtensions.GetEntityMetadata 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.
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.