コード例 #1
0
 public IsReferenceExpressionRewriter(QueryEntityRegistry queryEntityRegistry,
                                      QueryEntityAccessor queryEntityAccessor, NameGenerator nameGenerator,
                                      HashSet <ColumnReferenceExpression> rewritten)
 {
     this.queryEntityRegistry = queryEntityRegistry;
     this.queryEntityAccessor = queryEntityAccessor;
     this.nameGenerator       = nameGenerator;
     this.rewritten           = rewritten;
 }
コード例 #2
0
 public TranslationContext(IMappingSource mappingSource, List <ISqlElement> areas,
                           SqlQuery sqlQuery)
 {
     this.mappingSource  = mappingSource;
     this.areas          = areas;
     this.sqlQuery       = sqlQuery;
     queryEntityRegistry = new QueryEntityRegistry(mappingSource);
     queryEntityAccessor = new QueryEntityAccessor(queryEntityRegistry, nameGenerator);
 }
コード例 #3
0
 public TranslationContext(IMappingSource mappingSource, List <ISqlElement> areas,
                           SqlQuery sqlQuery)
 {
     this.mappingSource  = mappingSource;
     this.areas          = areas;
     this.sqlQuery       = sqlQuery;
     queryEntityRegistry = new QueryEntityRegistry(mappingSource);
     queryEntityTree     = new QueryEntityTree(queryEntityRegistry, nameGenerator);
     enumSqlBuilder      = new EnumSqlBuilder(queryEntityTree, nameGenerator);
 }
 public DeduceEntityTypeFromIsReferenceExpressionVisitor(QueryEntityRegistry queryEntityRegistry,
                                                         QueryEntityAccessor queryEntityAccessor)
 {
     this.queryEntityRegistry = queryEntityRegistry;
     this.queryEntityAccessor = queryEntityAccessor;
 }
コード例 #5
0
 public ValueLiteralRewriter(QueryEntityAccessor queryEntityAccessor,
                             QueryEntityRegistry queryEntityRegistry)
 {
     this.queryEntityAccessor = queryEntityAccessor;
     this.queryEntityRegistry = queryEntityRegistry;
 }