Esempio n. 1
0
 /// <summary>
 /// 实例化 <see cref="MethodCallExressionVisitor"/> 类的新实例
 /// </summary>
 public MethodCallExressionVisitor(IDbQueryProvider provider, ExpressionVisitorBase visitor)
 {
     _provider    = provider;
     _visitor     = visitor;
     _builder     = visitor.SqlBuilder;
     _visitedMark = _visitor.VisitedMark;
 }
Esempio n. 2
0
 /// <summary>
 /// 实例化 <see cref="MethodCallExpressionVisitor"/> 类的新实例
 /// </summary>
 public MethodCallExpressionVisitor(IDbQueryProvider provider, ExpressionVisitorBase visitor)
 {
     _provider       = provider;
     _visitor        = visitor;
     _builder        = visitor.SqlBuilder;
     _visitedMark    = _visitor.VisitedMark;
     this.NotMethods = new HashSet <MethodCallExpression>();
 }
Esempio n. 3
0
 /// <summary>
 /// 初始化 <see cref="ExpressionVisitorBase"/> 类的新实例
 /// </summary>
 public ExpressionVisitorBase(IDbQueryProvider provider, TableAliasCache aliases, Expression exp, bool useNominate = true)
 {
     _provider    = provider;
     _aliases     = aliases;
     _expression  = exp;
     _visitedMark = new MemberVisitedMark();
     _navMembers  = new Dictionary <string, MemberExpression>();
 }