public DeleteCommand(TableExpression table, Expression where) : base(DbExpressionType.Delete, typeof(int)) { this.table = table; this.where = where; }
public InsertCommand(TableExpression table, IEnumerable <ColumnAssignment> assignments) : base(DbExpressionType.Insert, typeof(int)) { this.table = table; this.assignments = assignments.ToReadOnly(); }
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); }