Beispiel #1
0
 public DeleteCommand(TableExpression table, Expression where) : base(DbExpressionType.Delete, typeof(int))
 {
     this.table = table;
     this.where = where;
 }
Beispiel #2
0
 public InsertCommand(TableExpression table, IEnumerable <ColumnAssignment> assignments) : base(DbExpressionType.Insert, typeof(int))
 {
     this.table       = table;
     this.assignments = assignments.ToReadOnly();
 }
Beispiel #3
0
 public UpdateCommand(TableExpression table, Expression where, IEnumerable <ColumnAssignment> assignments) : base(DbExpressionType.Update, typeof(int))
 {
     this.table       = table;
     this.where       = where;
     this.assignments = assignments.ToReadOnly();
 }
 protected override Expression VisitTable(TableExpression table)
 {
     aliases.Add(table.Alias);
     return(table);
 }