Dela via


EntityMetadata.IsOptimisticConcurrencyEnabled Property

 

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

Gets whether optimistic concurrency is enabled for the entity

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

Syntax

[DataMemberAttribute(Order = 71)]
public Nullable<bool> IsOptimisticConcurrencyEnabled { get; internal set; }
<DataMemberAttribute(Order := 71)>
Public Property IsOptimisticConcurrencyEnabled As Nullable(Of Boolean)
    Get
    Friend Set
End Property

Property Value

Type: System.Nullable<Boolean>

Type: Nullable<Boolean>
true if the optimistic concurrency is enabled for the entity; otherwise, false.

Remarks

For Microsoft Dynamics CRM Online 2015 Update 1 this property is true for selected system entities and custom entities.

See Also

EntityMetadata Class
Microsoft.Xrm.Sdk.Metadata Namespace
Reduce potential data loss using optimistic concurrency

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright