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