InstancePersistenceCommand.AutomaticallyAcquiringLock Property

Definition

Indicates whether the command could attempt to acquire a lock on the instance.

C#
protected internal virtual bool AutomaticallyAcquiringLock { get; }

Property Value

true if the command acquires a lock on the instance;, otherwise false. The default is false.

Remarks

The command classes that derive from this class can override this property to set it to true.

Applies to

Производ Верзије
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1