The LockMode type exposes the following members.

Methods

  NameDescription
Public methodEquals(Object) (Overrides Object..::..Equals(Object).)
Public methodEquals(LockMode)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode (Overrides Object..::..GetHashCode()()()().)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGreaterThan
Is this lock mode more restrictive than the given lock mode?
Public methodLessThan
Is this lock mode less restrictive than the given lock mode?
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString

Extension Methods

  NameDescription
Public Extension MethodAs<(Of <<'(T>)>>) (Defined by TypeHelperExtensionMethods.)
Public Extension MethodIsBetween
Apply a "between" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsIn(array<Object>[]()[][])Overloaded.
Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsIn(ICollection)Overloaded.
Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsProxy (Defined by NHibernateProxyHelper.)
Public Extension MethodToTypeParameters (Defined by ReflectHelper.)

Fields

  NameDescription
Public fieldStatic memberForce
Similar to Upgrade except that, for versioned entities, it results in a forced version increment.
Public fieldStatic memberNone
No lock required.
Public fieldStatic memberRead
A shared lock.
Public fieldStatic memberUpgrade
An upgrade lock.
Public fieldStatic memberUpgradeNoWait
Attempt to obtain an upgrade lock, using an Oracle-style SELECT ... FOR UPGRADE NOWAIT.
Public fieldStatic memberWrite
A Write lock is obtained when an object is updated or inserted.

See Also