DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Static Public Member Functions | List of all members
Deveel.Data.Sql.Variables.QueryExtensions Class Reference

Static Public Member Functions

static Variable DeclareVariable (this IQuery query, VariableInfo variableInfo)
 
static void DropVariable (this IQuery query, string variableName)
 
static Variable SetVariable (this IQuery query, string variableName, SqlExpression value)
 
static Variable FindVariable (this IQuery query, string variableName)
 
static Variable DeclareVariable (this IQuery query, string variableName, SqlType variableType)
 
static Variable DeclareVariable (this IQuery query, string variableName, SqlType variableType, bool constant)
 

Detailed Description

Definition at line 23 of file QueryExtensions.cs.

Member Function Documentation

static Variable Deveel.Data.Sql.Variables.QueryExtensions.DeclareVariable ( this IQuery  query,
VariableInfo  variableInfo 
)
inlinestatic

Definition at line 24 of file QueryExtensions.cs.

24  {
25  return query.Context.DeclareVariable(variableInfo);
26  }
static Variable Deveel.Data.Sql.Variables.QueryExtensions.DeclareVariable ( this IQuery  query,
string  variableName,
SqlType  variableType 
)
inlinestatic

Definition at line 40 of file QueryExtensions.cs.

40  {
41  return DeclareVariable(query, variableName, variableType, false);
42  }
static Variable DeclareVariable(this IQuery query, VariableInfo variableInfo)
static Variable Deveel.Data.Sql.Variables.QueryExtensions.DeclareVariable ( this IQuery  query,
string  variableName,
SqlType  variableType,
bool  constant 
)
inlinestatic

Definition at line 44 of file QueryExtensions.cs.

44  {
45  return query.DeclareVariable(new VariableInfo(variableName, variableType, constant));
46  }
static void Deveel.Data.Sql.Variables.QueryExtensions.DropVariable ( this IQuery  query,
string  variableName 
)
inlinestatic

Definition at line 28 of file QueryExtensions.cs.

28  {
29  query.Context.DropVariable(variableName);
30  }
static Variable Deveel.Data.Sql.Variables.QueryExtensions.FindVariable ( this IQuery  query,
string  variableName 
)
inlinestatic

Definition at line 36 of file QueryExtensions.cs.

36  {
37  return query.Context.FindVariable(variableName);
38  }
static Variable Deveel.Data.Sql.Variables.QueryExtensions.SetVariable ( this IQuery  query,
string  variableName,
SqlExpression  value 
)
inlinestatic

Definition at line 32 of file QueryExtensions.cs.

32  {
33  return query.Context.SetVariable(variableName, value);
34  }

The documentation for this class was generated from the following file: