12345678910111213141516171819202122232425262728293031 |
- using System;
- using System.Reflection;
- namespace Ant.DbExpressions
- {
- public abstract class DbBinaryExpression : DbExpression
- {
- DbExpression _left;
- DbExpression _right;
- MethodInfo _method;
- protected DbBinaryExpression(DbExpressionType nodeType, Type type, DbExpression left, DbExpression right)
- : this(nodeType, type, left, right, null)
- {
- }
- protected DbBinaryExpression(DbExpressionType nodeType, Type type, DbExpression left, DbExpression right, MethodInfo method)
- : base(nodeType, type)
- {
- this._left = left;
- this._right = right;
- this._method = method;
- }
- public DbExpression Left { get { return this._left; } }
- public DbExpression Right { get { return this._right; } }
- public MethodInfo Method { get { return this._method; } }
- public override T Accept<T>(DbExpressionVisitor<T> visitor)
- {
- throw new NotImplementedException();
- }
- }
- }
|