C# Class Deveel.Data.Sql.Variables.VariableScopeExtensions

Mostrar archivo Open project: deveel/deveeldb

Public Methods

Method Description
DefineVariable ( this scope, VariableInfo variableInfo ) : Variable
DefineVariable ( this scope, string variableName, SqlType variableType ) : Variable
DefineVariable ( this scope, string variableName, SqlType variableType, bool constant ) : Variable
DropVariable ( this scope, string variableName ) : bool
GetBooleanVariable ( this transaction, string name ) : bool
GetIntegerVariable ( this scope, string name ) : int
GetIntegerVariable ( this scope, string name, int defaultValue ) : int
GetStringVariable ( this transaction, string name ) : string
GetVariable ( this scope, string variableName ) : Variable
HasVariable ( this scope, string variableName ) : bool
SetBooleanVariable ( this transaction, string name, bool value ) : void
SetIntegerVariable ( this scope, string name, int value ) : void
SetStringVariable ( this transaction, string name, string value ) : void
SetVariable ( this scope, string variableName, Field value ) : Variable

Method Details

DefineVariable() public static method

public static DefineVariable ( this scope, VariableInfo variableInfo ) : Variable
scope this
variableInfo VariableInfo
return Variable

DefineVariable() public static method

public static DefineVariable ( this scope, string variableName, SqlType variableType ) : Variable
scope this
variableName string
variableType SqlType
return Variable

DefineVariable() public static method

public static DefineVariable ( this scope, string variableName, SqlType variableType, bool constant ) : Variable
scope this
variableName string
variableType SqlType
constant bool
return Variable

DropVariable() public static method

public static DropVariable ( this scope, string variableName ) : bool
scope this
variableName string
return bool

GetBooleanVariable() public static method

public static GetBooleanVariable ( this transaction, string name ) : bool
transaction this
name string
return bool

GetIntegerVariable() public static method

public static GetIntegerVariable ( this scope, string name ) : int
scope this
name string
return int

GetIntegerVariable() public static method

public static GetIntegerVariable ( this scope, string name, int defaultValue ) : int
scope this
name string
defaultValue int
return int

GetStringVariable() public static method

public static GetStringVariable ( this transaction, string name ) : string
transaction this
name string
return string

GetVariable() public static method

public static GetVariable ( this scope, string variableName ) : Variable
scope this
variableName string
return Variable

HasVariable() public static method

public static HasVariable ( this scope, string variableName ) : bool
scope this
variableName string
return bool

SetBooleanVariable() public static method

public static SetBooleanVariable ( this transaction, string name, bool value ) : void
transaction this
name string
value bool
return void

SetIntegerVariable() public static method

public static SetIntegerVariable ( this scope, string name, int value ) : void
scope this
name string
value int
return void

SetStringVariable() public static method

public static SetStringVariable ( this transaction, string name, string value ) : void
transaction this
name string
value string
return void

SetVariable() public static method

public static SetVariable ( this scope, string variableName, Field value ) : Variable
scope this
variableName string
value Field
return Variable