示例#1
0
 protected virtual bool CompareTable(TableExpression a, TableExpression b)
 {
     return(a.Name == b.Name);
 }
示例#2
0
 public InsertCommand(TableExpression table, IEnumerable <ColumnAssignment> assignments, object instance)
     : base(table, instance, DbExpressionType.Insert, typeof(int))
 {
     this.assignments = assignments.ToReadOnly();
 }
示例#3
0
 protected CDUCommandExpression(TableExpression table, object instance, DbExpressionType nodeType, Type type)
     : base(nodeType, type)
 {
     this.table    = table;
     this.instance = instance;
 }
示例#4
0
 public DeleteCommand(TableExpression table, Expression where, object instance, bool supportsVersionCheck)
     : base(table, instance, DbExpressionType.Delete, typeof(int))
 {
     this.where           = where;
     SupportsVersionCheck = supportsVersionCheck;
 }
示例#5
0
 protected virtual Expression VisitTable(TableExpression table)
 {
     return(table);
 }
示例#6
0
 protected override Expression VisitTable(TableExpression table)
 {
     this.aliases.Add(table.Alias);
     return(table);
 }