The LockMode type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | Equals(Object) | (Overrides Object..::..Equals(Object).) |
![]() | Equals(LockMode) | |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | (Overrides Object..::..GetHashCode()()()().) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GreaterThan |
Is this lock mode more restrictive than the given lock mode?
|
![]() | LessThan |
Is this lock mode less restrictive than the given lock mode?
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | (Overrides Object..::..ToString()()()().) |
Extension Methods
Name | Description | |
---|---|---|
![]() | As<(Of <<'(T>)>>) | (Defined by TypeHelperExtensionMethods.) |
![]() | IsBetween |
Apply a "between" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) |
![]() | IsIn(array<Object>[]()[][]) | Overloaded.
Apply an "in" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) |
![]() | IsIn(ICollection) | Overloaded.
Apply an "in" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) |
![]() | IsProxy | (Defined by NHibernateProxyHelper.) |
![]() | ToTypeParameters | (Defined by ReflectHelper.) |
Fields
Name | Description | |
---|---|---|
![]() ![]() | Force |
Similar to Upgrade except that, for versioned entities,
it results in a forced version increment.
|
![]() ![]() | None |
No lock required.
|
![]() ![]() | Read |
A shared lock.
|
![]() ![]() | Upgrade |
An upgrade lock.
|
![]() ![]() | UpgradeNoWait |
Attempt to obtain an upgrade lock, using an Oracle-style
SELECT ... FOR UPGRADE NOWAIT.
|
![]() ![]() | Write |
A Write lock is obtained when an object is updated or inserted.
|