DbTableExpression.cs 606 B

1234567891011121314151617181920212223242526
  1. using Ant.Common;
  2. using Ant.Utility;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. namespace Ant.DbExpressions
  8. {
  9. public class DbTableExpression : DbExpression
  10. {
  11. DbTable _table;
  12. public DbTableExpression(DbTable table)
  13. : base(DbExpressionType.Table, UtilConstants.TypeOfVoid)
  14. {
  15. this._table = table;
  16. }
  17. public DbTable Table { get { return this._table; } }
  18. public override T Accept<T>(DbExpressionVisitor<T> visitor)
  19. {
  20. return visitor.Visit(this);
  21. }
  22. }
  23. }