共用方式為


EntityKeyMetadata Class

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Represents the entity key metadata.

Namespace:   Microsoft.Xrm.Sdk.Metadata
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Xrm.Sdk.Metadata.MetadataBase
    Microsoft.Xrm.Sdk.Metadata.EntityKeyMetadata

Syntax

[DataContractAttribute(Name = "EntityKeyMetadata", Namespace = "https://schemas.microsoft.com/xrm/7.1/Metadata")]
[MetadataNameAttribute(LogicalName = "EntityKeyMetadata", LogicalCollectionName = "EntityKeyDefinitions")]
public sealed class EntityKeyMetadata : MetadataBase
<DataContractAttribute(Name := "EntityKeyMetadata", Namespace := "https://schemas.microsoft.com/xrm/7.1/Metadata")>
<MetadataNameAttribute(LogicalName := "EntityKeyMetadata", LogicalCollectionName := "EntityKeyDefinitions")>
Public NotInheritable Class EntityKeyMetadata
    Inherits MetadataBase

Constructors

Name Description
System_CAPS_pubmethod EntityKeyMetadata()

Initializes a new instance of the EntityKeyMetadata class.

Properties

Name Description
System_CAPS_pubproperty AsyncJob

Gets or sets the asynchronous job.

System_CAPS_pubproperty DisplayName

Gets or sets the display name.

System_CAPS_pubproperty EntityKeyIndexStatus

Gets or sets the entity key index status.

System_CAPS_pubproperty EntityLogicalName

Gets or sets the entity logical name.

System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data.(Inherited from MetadataBase.)

System_CAPS_pubproperty HasChanged

Gets whether the item of metadata has changed.(Inherited from MetadataBase.)

System_CAPS_pubproperty IntroducedVersion

Gets or sets the introduced version.

System_CAPS_pubproperty IsCustomizable

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

System_CAPS_pubproperty IsManaged

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

System_CAPS_pubproperty KeyAttributes

Gets or sets the key attributes.

System_CAPS_pubproperty LogicalName

Gets or sets the logical name.

System_CAPS_pubproperty MetadataId

Gets or sets a unique identifier for the metadata item.(Inherited from MetadataBase.)

System_CAPS_pubproperty SchemaName

Gets or sets the schema name.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Xrm.Sdk.Metadata Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright