Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Entity.EntityState Property

Definition

Namespace:
Microsoft.Xrm.Sdk
Assembly:
Microsoft.Xrm.Sdk.dll
Package:
Microsoft.PowerPlatform.Dataverse.Client v1.2.10

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 or sets the state of the entity.

public:
 property Nullable<Microsoft::Xrm::Sdk::EntityState> EntityState { Nullable<Microsoft::Xrm::Sdk::EntityState> get(); void set(Nullable<Microsoft::Xrm::Sdk::EntityState> value); };
[System.Runtime.Serialization.DataMember]
public Microsoft.Xrm.Sdk.EntityState? EntityState { get; set; }
[<System.Runtime.Serialization.DataMember>]
member this.EntityState : Nullable<Microsoft.Xrm.Sdk.EntityState> with get, set
Public Property EntityState As Nullable(Of EntityState)

Property Value

The state of the entity.

Attributes

Examples

lead1.EntityState = EntityState.Changed;

Applies to