Ejemplo n.º 1
0
 private QueryBinder(QueryMapping mapping, Expression root)
 {
     this.mapping = mapping;
     map = new Dictionary<ParameterExpression, Expression>();
     groupByMap = new Dictionary<Expression, GroupByInfo>();
     this.root = root;
 }
Ejemplo n.º 2
0
 public QueryPolicy(QueryMapping mapping)
 {
     this.mapping = mapping;
 }
Ejemplo n.º 3
0
 public static Expression Bind(QueryMapping mapping, Expression expression)
 {
     return new QueryBinder(mapping, expression).Visit(expression);
 }
Ejemplo n.º 4
0
 public static Expression Bind(QueryMapping mapping, Expression expression)
 {
     return new RelationshipBinder(mapping).Visit(expression);
 }
Ejemplo n.º 5
0
 private RelationshipBinder(QueryMapping mapping)
 {
     this.mapping = mapping;
 }
Ejemplo n.º 6
0
 private RelationshipIncluder(QueryPolicy policy)
 {
     this.policy = policy;
     this.mapping = policy.Mapping;
 }