Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

EntityKeyMetadata Class

Definition

Namespace:
Microsoft.Xrm.Sdk.Metadata
Assembly:
Microsoft.Xrm.Sdk.dll
Package:
Microsoft.PowerPlatform.Dataverse.Client v1.2.10

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.

Represents the entity key metadata.

public ref class EntityKeyMetadata sealed : Microsoft::Xrm::Sdk::Metadata::MetadataBase
[Microsoft.Xrm.Sdk.Metadata.MetadataName(LogicalCollectionName="EntityKeyDefinitions", LogicalName="EntityKeyMetadata")]
[System.Runtime.Serialization.DataContract(Name="EntityKeyMetadata", Namespace="http://schemas.microsoft.com/xrm/7.1/Metadata")]
public sealed class EntityKeyMetadata : Microsoft.Xrm.Sdk.Metadata.MetadataBase
[<Microsoft.Xrm.Sdk.Metadata.MetadataName(LogicalCollectionName="EntityKeyDefinitions", LogicalName="EntityKeyMetadata")>]
[<System.Runtime.Serialization.DataContract(Name="EntityKeyMetadata", Namespace="http://schemas.microsoft.com/xrm/7.1/Metadata")>]
type EntityKeyMetadata = class
 inherit MetadataBase
Public NotInheritable Class EntityKeyMetadata
Inherits MetadataBase
Inheritance
EntityKeyMetadata
Attributes

Constructors

Name Description
EntityKeyMetadata()

Initializes a new instance of the EntityKeyMetadata class.

Properties

Name Description
AsyncJob

Gets or sets the asynchronous job.

DisplayName

Gets or sets the display name.

EntityKeyIndexStatus

Gets or sets the entity key index status.

EntityLogicalName

Gets or sets the entity logical name.

ExtensionData

Gets or sets the structure that contains extra data.

(Inherited from MetadataBase)
HasChanged

Gets whether the item of metadata has changed.

(Inherited from MetadataBase)
IntroducedVersion

Gets or sets the introduced version.

IsCustomizable

Gets or sets a Boolean value that specifies whether the entity key metadata is customizable.

IsExportKey
IsManaged

Gets or sets a Boolean value that specifies whether entity key metadata is managed or not.

IsSecondaryKey
IsSynchronous
KeyAttributes

Gets or sets the key attributes.

LogicalName

Gets or sets the logical name.

MetadataId

Gets or sets a unique identifier for the metadata item.

(Inherited from MetadataBase)
SchemaName

Gets or sets the schema name.

Applies to