23 namespace Deveel.Data.Sql.Statements {
31 : this(controlType, null, whenExpression) {
35 : this(controlType, label, null) {
40 WhenExpression = whenExpression;
41 ControlType = controlType;
52 public string Label {
get; set; }
58 var whenExp = WhenExpression;
60 whenExp = whenExp.Prepare(preparer);
66 throw new NotImplementedException();
71 data.
SetValue(
"WhenExpression", WhenExpression);
72 data.
SetValue(
"ControlType", (
int)ControlType);
void SetValue(string key, Type type, object value)
Represents the foundation class of SQL statements to be executed.
LoopControlStatement(ObjectData data)
override void GetData(SerializeData data)
LoopControlStatement(LoopControlType controlType, string label)
An interface used to prepare a SqlExpression object.
LoopControlStatement(LoopControlType controlType, SqlExpression whenExpression)
object Prepare(IExpressionPreparer preparer)
Converts the underlying value of this instance into an object that can be evaluated by an expression...
object GetValue(string key)
Defines the base class for instances that represent SQL expression tree nodes.
LoopControlStatement(LoopControlType controlType)
override void ExecuteStatement(ExecutionContext context)
A contract for objects that participate to a SqlExpression.Prepare phase of an expression evaluation...
string GetString(string key)
LoopControlStatement(LoopControlType controlType, string label, SqlExpression whenExpression)