Bewerken

Delen via


InstancePersistenceCommand.AutomaticallyAcquiringLock Property

Definition

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

protected public:
 virtual property bool AutomaticallyAcquiringLock { bool get(); };
protected internal virtual bool AutomaticallyAcquiringLock { get; }
member this.AutomaticallyAcquiringLock : bool
Protected Friend Overridable ReadOnly Property AutomaticallyAcquiringLock As Boolean

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