Class LockOp
Represents operations of locking transaction
Inheritance
System.Object
LockOp
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Azos.Sky.dll
Syntax
public static class LockOp
Properties
False
Declaration
public static LockOp.FalseOp False { get; }
Property Value
True
Declaration
public static LockOp.TrueOp True { get; }
Property Value
Methods
Abort()
Declaration
public static LockOp.AbortOp Abort()
Returns
And(LockOp.OperatorOp, LockOp.OperatorOp)
Declaration
public static LockOp.AndOp And(LockOp.OperatorOp lop, LockOp.OperatorOp rop)
Parameters
Returns
AnywayContinueAfter(LockOp.ChangeOp, Boolean)
Declaration
public static LockOp.AnywayContinueAfterOp AnywayContinueAfter(LockOp.ChangeOp operation, bool resetAbort = false)
Parameters
Returns
Assert(LockOp.OperatorOp)
Declaration
public static LockOp.AssertOp Assert(LockOp.OperatorOp condition)
Parameters
Returns
Block(LockOp.StatementOp[])
Declaration
public static LockOp.BlockOp Block(params LockOp.StatementOp[] statements)
Parameters
Returns
DeleteVar(String, String, Object)
Declaration
public static LockOp.DeleteVarOp DeleteVar(string table, string var, object value = null)
Parameters
Type |
Name |
Description |
System.String |
table |
|
System.String |
var |
|
System.Object |
value |
|
Returns
Exists(String, String, Object, Boolean)
Declaration
public static LockOp.ExistsOp Exists(string table, string var, object value = null, bool ignoreThisSession = true)
Parameters
Type |
Name |
Description |
System.String |
table |
|
System.String |
var |
|
System.Object |
value |
|
System.Boolean |
ignoreThisSession |
|
Returns
If(LockOp.OperatorOp, LockOp.StatementOp, LockOp.StatementOp)
Declaration
public static LockOp.IfOp If(LockOp.OperatorOp condition, LockOp.StatementOp then, LockOp.StatementOp elze = null)
Parameters
Returns
Not(LockOp.OperatorOp)
Declaration
public static LockOp.NotOp Not(LockOp.OperatorOp operand)
Parameters
Returns
Or(LockOp.OperatorOp, LockOp.OperatorOp)
Declaration
public static LockOp.OrOp Or(LockOp.OperatorOp lop, LockOp.OperatorOp rop)
Parameters
Returns
SelectConstantValue(String, Object)
Declaration
public static LockOp.SelectConstantValueOp SelectConstantValue(string intoName, object value)
Parameters
Type |
Name |
Description |
System.String |
intoName |
|
System.Object |
value |
|
Returns
SelectOperatorValue(String, LockOp.OperatorOp)
Declaration
public static LockOp.SelectOperatorValueOp SelectOperatorValue(string intoName, LockOp.OperatorOp operand)
Parameters
Returns
SelectVarValue(String, String, String, Boolean, Boolean, Boolean)
Declaration
public static LockOp.SelectVarValueOp SelectVarValue(string intoName, string table, string var, bool ignoreThisSession = true, bool abortIfNotFound = false, bool selectMany = false)
Parameters
Type |
Name |
Description |
System.String |
intoName |
|
System.String |
table |
|
System.String |
var |
|
System.Boolean |
ignoreThisSession |
|
System.Boolean |
abortIfNotFound |
|
System.Boolean |
selectMany |
|
Returns
SetVar(String, String, Object, String, Nullable<DateTime>, Boolean)
Declaration
public static LockOp.SetVarOp SetVar(string table, string var, object value, string description = null, DateTime? expirationTimeUTC = default(DateTime? ), bool allowDuplicates = false)
Parameters
Type |
Name |
Description |
System.String |
table |
|
System.String |
var |
|
System.Object |
value |
|
System.String |
description |
|
System.Nullable<System.DateTime> |
expirationTimeUTC |
|
System.Boolean |
allowDuplicates |
|
Returns
Xor(LockOp.OperatorOp, LockOp.OperatorOp)
Declaration
public static LockOp.XorOp Xor(LockOp.OperatorOp lop, LockOp.OperatorOp rop)
Parameters
Returns