|
static bool | HasVariable (this IVariableScope scope, string variableName) |
|
static Variable | DefineVariable (this IVariableScope scope, VariableInfo variableInfo) |
|
static Variable | DefineVariable (this IVariableScope scope, string variableName, SqlType variableType) |
|
static Variable | DefineVariable (this IVariableScope scope, string variableName, SqlType variableType, bool constant) |
|
static bool | DropVariable (this IVariableScope scope, string variableName) |
|
static Variable | GetVariable (this IVariableScope scope, string variableName) |
|
static Variable | SetVariable (this IVariableScope scope, string variableName, DataObject value) |
|
static void | SetBooleanVariable (this IVariableScope transaction, string name, bool value) |
|
static void | SetStringVariable (this IVariableScope transaction, string name, string value) |
|
static bool | GetBooleanVariable (this IVariableScope transaction, string name) |
|
static string | GetStringVariable (this IVariableScope transaction, string name) |
|
Definition at line 23 of file VariableScopeExtensions.cs.
static Variable Deveel.Data.Sql.Variables.VariableScopeExtensions.DefineVariable |
( |
this IVariableScope |
scope, |
|
|
string |
variableName, |
|
|
SqlType |
variableType |
|
) |
| |
|
inlinestatic |
Definition at line 32 of file VariableScopeExtensions.cs.
static Variable DefineVariable(this IVariableScope scope, VariableInfo variableInfo)
static Variable Deveel.Data.Sql.Variables.VariableScopeExtensions.DefineVariable |
( |
this IVariableScope |
scope, |
|
|
string |
variableName, |
|
|
SqlType |
variableType, |
|
|
bool |
constant |
|
) |
| |
|
inlinestatic |
Definition at line 36 of file VariableScopeExtensions.cs.
37 return scope.DefineVariable(
new VariableInfo(variableName, variableType, constant));
static bool Deveel.Data.Sql.Variables.VariableScopeExtensions.DropVariable |
( |
this IVariableScope |
scope, |
|
|
string |
variableName |
|
) |
| |
|
inlinestatic |
static bool Deveel.Data.Sql.Variables.VariableScopeExtensions.GetBooleanVariable |
( |
this IVariableScope |
transaction, |
|
|
string |
name |
|
) |
| |
|
inlinestatic |
Definition at line 65 of file VariableScopeExtensions.cs.
66 var variable = transaction.GetVariable(name);
70 return variable.Value.AsBoolean();
static string Deveel.Data.Sql.Variables.VariableScopeExtensions.GetStringVariable |
( |
this IVariableScope |
transaction, |
|
|
string |
name |
|
) |
| |
|
inlinestatic |
static Variable Deveel.Data.Sql.Variables.VariableScopeExtensions.GetVariable |
( |
this IVariableScope |
scope, |
|
|
string |
variableName |
|
) |
| |
|
inlinestatic |
static bool Deveel.Data.Sql.Variables.VariableScopeExtensions.HasVariable |
( |
this IVariableScope |
scope, |
|
|
string |
variableName |
|
) |
| |
|
inlinestatic |
static void Deveel.Data.Sql.Variables.VariableScopeExtensions.SetBooleanVariable |
( |
this IVariableScope |
transaction, |
|
|
string |
name, |
|
|
bool |
value |
|
) |
| |
|
inlinestatic |
static void Deveel.Data.Sql.Variables.VariableScopeExtensions.SetStringVariable |
( |
this IVariableScope |
transaction, |
|
|
string |
name, |
|
|
string |
value |
|
) |
| |
|
inlinestatic |
Definition at line 48 of file VariableScopeExtensions.cs.
49 var variable = scope.GetVariable(variableName);
51 variable = scope.DefineVariable(variableName, value.Type);
53 variable.SetValue(value);
The documentation for this class was generated from the following file: