Example #1
0
 public SetVariableStatement(SqlPlaceholder <T> variable, Expression <Func <SelectorContext <T>, T> > valueExpr)
 {
     Variable        = variable;
     ValueExpression = valueExpr;
     ValueFunction   = valueExpr.Compile();
 }
Example #2
0
 public abstract void WritePlaceholder(SqlPlaceholder placeholder, StringBuilder writer);
Example #3
0
 public abstract void WriteSetSqlVariable(SqlPlaceholder variable, SqlExpression expr, StringBuilder writer);
Example #4
0
 public void SetSqlVariable <T>(SqlPlaceholder <T> placeholder, Expression <Func <SelectorContext <T>, T> > node)
 {
     Queries.Add(new SetVariableStatement <T>(placeholder, node));
 }