Esempio n. 1
0
 public static Expression Include(QueryMapper mapper, Expression expression)
 {
     return(new RelationshipIncluder(mapper).Visit(expression));
 }
Esempio n. 2
0
 private RelationshipIncluder(QueryMapper mapper)
 {
     this.mapper = mapper;
     this.policy = mapper.Translator.Police.Policy;
 }
Esempio n. 3
0
 public WhereBinder(QueryMapper mapper, Expression root, Dictionary <ParameterExpression, Expression> map, Dictionary <Expression, QueryBinder.GroupByInfo> groupByMap) : base(mapper, root, map, groupByMap)
 {
 }
Esempio n. 4
0
 public static Expression Bind(QueryMapper mapper, Expression expression)
 {
     return(new RelationshipBinder(mapper).Visit(expression));
 }
Esempio n. 5
0
 private RelationshipBinder(QueryMapper mapper)
 {
     this.mapper   = mapper;
     this.mapping  = mapper.Mapping;
     this.language = mapper.Translator.Linguist.Language;
 }
 public QueryTranslator(QueryLanguage language, QueryMapping mapping, QueryPolicy policy)
 {
     this.linguist = language.CreateLinguist(this);
     this.mapper   = mapping.CreateMapper(this);
     this.police   = policy.CreatePolice(this);
 }