EntityMetadata.Keys Property
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.
Gets an array of keys for an entity.
public:
property cli::array <Microsoft::Xrm::Sdk::Metadata::EntityKeyMetadata ^> ^ Keys { cli::array <Microsoft::Xrm::Sdk::Metadata::EntityKeyMetadata ^> ^ get(); };
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
[System.Runtime.Serialization.DataMember(Order=71)]
public Microsoft.Xrm.Sdk.Metadata.EntityKeyMetadata[] Keys { get; }
[<System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")>]
[<System.Runtime.Serialization.DataMember(Order=71)>]
member this.Keys : Microsoft.Xrm.Sdk.Metadata.EntityKeyMetadata[]
Public ReadOnly Property Keys As EntityKeyMetadata()
Property Value
An array of keys for an entity.
- Attributes
Remarks
When an entity has alternate keys defined, this property contains the definitions for those keys.