private QueryBinder(QueryMapper mapper, Expression root)
		{
			this.mapper = mapper;
			this.map = new Dictionary<ParameterExpression, Expression>();
			this.groupByMap = new Dictionary<Expression, GroupByInfo>();
			this.root = root;
		}
Exemplo n.º 2
0
 private QueryBinder(QueryMapper mapper, Expression root)
 {
     this.mapper = mapper;
     this.language = mapper.Translator.Linguist.Language;
     this.map = new Dictionary<ParameterExpression, Expression>();
     this.groupByMap = new Dictionary<Expression, GroupByInfo>();
     this.root = root;
 }
Exemplo n.º 3
0
 public static Expression Include(QueryMapper mapper, Expression expression)
 {
     return(new RelationshipIncluder(mapper).Visit(expression));
 }
Exemplo n.º 4
0
 private RelationshipIncluder(QueryMapper mapper)
 {
     this.mapper = mapper;
     this.policy = mapper.Translator.Police.Policy;
 }
 public QueryTranslator(QueryLanguage language, QueryMapping mapping, QueryPolicy policy)
 {
     this.linguist = language.CreateLinguist(this);
     this.mapper   = mapping.CreateMapper(this);
     this.police   = policy.CreatePolice(this);
 }
Exemplo n.º 6
0
 public static Expression Bind(QueryMapper mapper, Expression expression)
 {
     return new QueryBinder(mapper, expression).Visit(expression);
 }
 private RelationshipBinder(QueryMapper mapper)
 {
     this.mapper   = mapper;
     this.mapping  = mapper.Mapping;
     this.language = mapper.Translator.Linguist.Language;
 }
 public static Expression Bind(QueryMapper mapper, Expression expression)
 {
     return(new RelationshipBinder(mapper).Visit(expression));
 }
 private RelationshipIncluder(QueryMapper mapper)
 {
     this.mapper = mapper;
     this.policy = mapper.Translator.Police.Policy;
 }
 public static Expression Include(QueryMapper mapper, Expression expression)
 {
     return new RelationshipIncluder(mapper).Visit(expression);
 }
Exemplo n.º 11
0
 public QueryTranslator(QueryLanguage language, QueryMapping mapping, QueryPolicy policy)
 {
     this.linguist = language.CreateLinguist(this);
     this.mapper = mapping.CreateMapper(this);
     this.police = policy.CreatePolice(this);
 }
Exemplo n.º 12
0
 private DbRelationshipIncluder(QueryMapper mapper)
 {
     this.mapper       = mapper;
     this.policy       = mapper.Translator.Police.Policy;
     this.includeScope = new ScopedDictionary <MemberInfo, bool>(null);
 }
Exemplo n.º 13
0
 public static Expression Bind(QueryMapper mapper, Expression expression)
 {
     return new RelationshipBinder(mapper).Visit(expression);
 }
Exemplo n.º 14
0
 private RelationshipBinder(QueryMapper mapper)
 {
     this.mapper = mapper;
     this.mapping = mapper.Mapping;
     this.language = mapper.Translator.Linguist.Language;
 }
		private RelationshipBinder(QueryMapper mapper)
		{
			this.mapper = mapper;
			this.mapping = mapper.Mapping;
		}