DbMainTableExpression.cs 623 B

1234567891011121314151617181920
  1. using System.Collections.Generic;
  2. namespace Ant.DbExpressions
  3. {
  4. public abstract class DbMainTableExpression : DbExpression
  5. {
  6. DbTableSegment _table;
  7. List<DbJoinTableExpression> _joinTables;
  8. protected DbMainTableExpression(DbExpressionType nodeType, DbTableSegment table)
  9. : base(nodeType)
  10. {
  11. this._table = table;
  12. this._joinTables = new List<DbJoinTableExpression>();
  13. }
  14. public DbTableSegment Table { get { return this._table; } }
  15. public List<DbJoinTableExpression> JoinTables { get { return this._joinTables; } }
  16. }
  17. }