Dela via


EntityMetadata.IsOptimisticConcurrencyEnabled Property

 

Applies To: Dynamics CRM 2015

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; }
public:
[DataMemberAttribute(Order = 71)]
property Nullable<bool> IsOptimisticConcurrencyEnabled {
    Nullable<bool> get();
    internal: void set(Nullable<bool> value);
}
[<DataMemberAttribute(Order = 71)>]
member IsOptimisticConcurrencyEnabled : Nullable<bool> with 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

© 2016 Microsoft. All rights reserved. Copyright