共用方式為


EntityKeyMetadata Class

Definition

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

EntityKeyMetadata()

Initializes a new instance of the EntityKeyMetadata class.

Properties

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