CreateEntityKeyRequest CreateEntityKeyRequest CreateEntityKeyRequest CreateEntityKeyRequest Class


Contains data that is needed to create an alternate key.

public ref class CreateEntityKeyRequest sealed : Microsoft::Xrm::Sdk::OrganizationRequest
public sealed class CreateEntityKeyRequest : Microsoft.Xrm.Sdk.OrganizationRequest
type CreateEntityKeyRequest = class
    inherit OrganizationRequest
Public NotInheritable Class CreateEntityKeyRequest
Inherits OrganizationRequest


This message takes the entity name and EntityKeyMetadata values as input to create the key.


When you pass an instance of this class to the Execute(OrganizationRequest) method, it returns an instance of the RetrieveEntityKeyResponse class.


CreateEntityKeyRequest() CreateEntityKeyRequest() CreateEntityKeyRequest() CreateEntityKeyRequest()

Initializes a new instance of the CreateEntityKeyRequest class.


EntityKey EntityKey EntityKey EntityKey

Gets or sets the entity key.

EntityName EntityName EntityName EntityName

Gets or sets the entity name.

ExtensionData ExtensionData ExtensionData ExtensionData

Gets or sets the structure that contains extra data. Optional.

(Inherited from OrganizationRequest)
Item[String] Item[String] Item[String] Item[String]

Gets or sets the indexer for the Parameters collection.

(Inherited from OrganizationRequest)
Parameters Parameters Parameters Parameters

Gets or sets the collection of parameters for the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
RequestId RequestId RequestId RequestId

Gets or sets the ID of an asynchronous operation (system job). Optional.

(Inherited from OrganizationRequest)
RequestName RequestName RequestName RequestName

Gets or sets the name of the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
SolutionUniqueName SolutionUniqueName SolutionUniqueName SolutionUniqueName

Gets or sets the unique name of the solution.

Applies to