Ejemplo n.º 1
0
 /// <summary>
 ///     This is an internal API that supports the Entity Framework Core infrastructure and not subject to
 ///     the same compatibility standards as public APIs. It may be changed or removed without notice in
 ///     any release. You should only use it directly in your code with extreme caution and knowing that
 ///     doing so can result in application failures when updating to a new Entity Framework Core release.
 /// </summary>
 public CosmosQueryableMethodTranslatingExpressionVisitor(
     [NotNull] QueryableMethodTranslatingExpressionVisitorDependencies dependencies,
     [NotNull] IModel model,
     [NotNull] ISqlExpressionFactory sqlExpressionFactory,
     [NotNull] IMemberTranslatorProvider memberTranslatorProvider,
     [NotNull] IMethodCallTranslatorProvider methodCallTranslatorProvider)
     : base(dependencies, subquery: false)
 {
     _model = model;
     _sqlExpressionFactory = sqlExpressionFactory;
     _sqlTranslator        = new CosmosSqlTranslatingExpressionVisitor(
         model,
         sqlExpressionFactory,
         memberTranslatorProvider,
         methodCallTranslatorProvider);
     _projectionBindingExpressionVisitor = new CosmosProjectionBindingExpressionVisitor(_model, _sqlTranslator);
 }
Ejemplo n.º 2
0
 public InMemoryQueryableMethodTranslatingExpressionVisitorFactory(
     [NotNull] QueryableMethodTranslatingExpressionVisitorDependencies dependencies)
 {
     _dependencies = dependencies;
 }
 public HarmonyQueryableMethodTranslatingExpressionVisitorFactory(
     QueryableMethodTranslatingExpressionVisitorDependencies dependencies)
 {
     _dependencies = dependencies;
 }
Ejemplo n.º 4
0
 public ClickHouseQueryableMethodTranslatingExpressionVisitor(QueryableMethodTranslatingExpressionVisitorDependencies dependencies, RelationalQueryableMethodTranslatingExpressionVisitorDependencies relationalDependencies, QueryCompilationContext queryCompilationContext) : base(dependencies, relationalDependencies, queryCompilationContext)
 {
     _sqlTranslator =
         relationalDependencies.RelationalSqlTranslatingExpressionVisitorFactory.Create(queryCompilationContext,
                                                                                        this);
 }
 public ClickHouseQueryableMethodTranslatingExpressionVisitorFactory(QueryableMethodTranslatingExpressionVisitorDependencies dependencies, RelationalQueryableMethodTranslatingExpressionVisitorDependencies relationalDependencies)
 {
     _dependencies           = dependencies;
     _relationalDependencies = relationalDependencies;
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Initializes new instance of <see cref="RelationalQueryableMethodTranslatingExpressionVisitorFactory"/>.
 /// </summary>
 /// <param name="dependencies">Dependencies.</param>
 /// <param name="relationalDependencies">Relational dependencies.</param>
 public RelationalQueryableMethodTranslatingExpressionVisitorFactory(QueryableMethodTranslatingExpressionVisitorDependencies dependencies,
                                                                     RelationalQueryableMethodTranslatingExpressionVisitorDependencies relationalDependencies)
 {
     _dependencies           = dependencies ?? throw new ArgumentNullException(nameof(dependencies));
     _relationalDependencies = relationalDependencies ?? throw new ArgumentNullException(nameof(relationalDependencies));
 }
 public KoraliumQueryableMethodTranslatingExpressionVisitor(QueryableMethodTranslatingExpressionVisitorDependencies dependencies,
                                                            RelationalQueryableMethodTranslatingExpressionVisitorDependencies relationalDependencies, IModel model)
     : base(dependencies, relationalDependencies, model)
 {
 }