Instances represent a lock mode for a row of a relational database table.

The following tables list the members exposed by the LockMode type.

Public Methods

  NameDescription
GreaterThan
Is this lock mode more restrictive than the given lock mode?

LessThan
Is this lock mode less restrictive than the given lock mode?

ToString
(Overrides .ToString().)

Public Fields

  NameDescription
static memberNone
No lock required.

static memberRead
A shared lock.

static memberUpgrade
An upgrade lock.

static memberUpgradeNoWait
Attempty to obtain an upgrade lock, using an Oracle-style SELECT ... FOR UPGRADE NOWAIT.

static memberWrite
A Write lock is obtained when an object is updated or inserted.