CreateEntity Class


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

Creates an record.

Namespace:   Microsoft.Xrm.Sdk.Workflow.Activities
Assembly:  Microsoft.Xrm.Sdk.Workflow (in Microsoft.Xrm.Sdk.Workflow.dll)

Inheritance Hierarchy



public sealed class CreateEntity : CodeActivity
Public NotInheritable Class CreateEntity
    Inherits CodeActivity


Name Description
System_CAPS_pubmethod CreateEntity()

Initializes a new instance of the CreateEntity class.


Name Description
System_CAPS_protproperty CacheId

(Inherited from Activity.)

System_CAPS_pubproperty DisplayName

(Inherited from Activity.)

System_CAPS_pubproperty Entity

Gets or sets the entity instance (record).

System_CAPS_pubproperty EntityId

Gets the ID of the record that was created.

System_CAPS_pubproperty EntityName

Sets the logical entity name of the record to create.

System_CAPS_pubproperty Id

(Inherited from Activity.)

System_CAPS_protproperty ImplementationVersion

(Inherited from CodeActivity.)


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 Activity.)

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.Workflow.Activities Namespace
Custom XAML workflows

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright