private RelationalQueryableMethodTranslatingExpressionVisitor( IModel model, RelationalSqlTranslatingExpressionVisitor sqlTranslator, ISqlExpressionFactory sqlExpressionFactory) { _model = model; _sqlTranslator = sqlTranslator; _projectionBindingExpressionVisitor = new RelationalProjectionBindingExpressionVisitor(this, sqlTranslator); _sqlExpressionFactory = sqlExpressionFactory; }
public RelationalQueryableMethodTranslatingExpressionVisitor( IModel model, IRelationalSqlTranslatingExpressionVisitorFactory relationalSqlTranslatingExpressionVisitorFactory, ISqlExpressionFactory sqlExpressionFactory) { _sqlTranslator = relationalSqlTranslatingExpressionVisitorFactory.Create(model, this); _projectionBindingExpressionVisitor = new RelationalProjectionBindingExpressionVisitor(this, _sqlTranslator); _model = model; _sqlExpressionFactory = sqlExpressionFactory; }
public RelationalQueryableMethodTranslatingExpressionVisitor( IModel model, IRelationalSqlTranslatingExpressionVisitorFactory relationalSqlTranslatingExpressionVisitorFactory, ISqlExpressionFactory sqlExpressionFactory) : base(subquery: false) { _sqlTranslator = relationalSqlTranslatingExpressionVisitorFactory.Create(model, this); _weakEntityExpandingExpressionVisitor = new WeakEntityExpandingExpressionVisitor(_sqlTranslator, sqlExpressionFactory); _projectionBindingExpressionVisitor = new RelationalProjectionBindingExpressionVisitor(this, _sqlTranslator); _model = model; _sqlExpressionFactory = sqlExpressionFactory; }
private RelationalQueryableMethodTranslatingExpressionVisitor( IModel model, RelationalSqlTranslatingExpressionVisitor sqlTranslator, WeakEntityExpandingExpressionVisitor weakEntityExpandingExpressionVisitor, ISqlExpressionFactory sqlExpressionFactory) : base(subquery: true) { _model = model; _sqlTranslator = sqlTranslator; _weakEntityExpandingExpressionVisitor = weakEntityExpandingExpressionVisitor; _projectionBindingExpressionVisitor = new RelationalProjectionBindingExpressionVisitor(this, sqlTranslator); _sqlExpressionFactory = sqlExpressionFactory; }