Example #1
0
 public CustomSelectExpression(
     SelectExpressionDependencies dependencies,
     RelationalQueryCompilationContext queryCompilationContext,
     string alias) : base(dependencies, queryCompilationContext, alias)
 {
     SetCustomSelectExpressionProperties(queryCompilationContext);
 }
Example #2
0
 public SqlServerSystemVersioningSelectExpression(
     SelectExpressionDependencies dependencies,
     RelationalQueryCompilationContext queryCompilationContext)
     : base(dependencies, queryCompilationContext)
 {
     SetCustomSelectExpressionProperties(queryCompilationContext);
 }
        /// <summary>
        ///     This API supports the Entity Framework Core infrastructure and is not intended to be used
        ///     directly from your code. This API may change or be removed in future releases.
        /// </summary>
        public IncludeExpressionVisitorFactory(
            [NotNull] SelectExpressionDependencies selectExpressionDependencies,
            [NotNull] ISelectExpressionFactory selectExpressionFactory,
            [NotNull] ICompositePredicateExpressionVisitorFactory compositePredicateExpressionVisitorFactory,
            [NotNull] IMaterializerFactory materializerFactory,
            [NotNull] IShaperCommandContextFactory shaperCommandContextFactory,
            [NotNull] IRelationalAnnotationProvider relationalAnnotationProvider)
        {
            Check.NotNull(selectExpressionDependencies, nameof(selectExpressionDependencies));
            Check.NotNull(selectExpressionFactory, nameof(selectExpressionFactory));
            Check.NotNull(compositePredicateExpressionVisitorFactory, nameof(compositePredicateExpressionVisitorFactory));
            Check.NotNull(materializerFactory, nameof(materializerFactory));
            Check.NotNull(shaperCommandContextFactory, nameof(shaperCommandContextFactory));
            Check.NotNull(relationalAnnotationProvider, nameof(relationalAnnotationProvider));

            _selectExpressionDependencies = selectExpressionDependencies;
            _selectExpressionFactory      = selectExpressionFactory;
            _compositePredicateExpressionVisitorFactory = compositePredicateExpressionVisitorFactory;
            _materializerFactory          = materializerFactory;
            _shaperCommandContextFactory  = shaperCommandContextFactory;
            _relationalAnnotationProvider = relationalAnnotationProvider;
        }
Example #4
0
        /// <summary>
        ///     This API supports the Entity Framework Core infrastructure and is not intended to be used
        ///     directly from your code. This API may change or be removed in future releases.
        /// </summary>
        public IncludeExpressionVisitor(
            [NotNull] SelectExpressionDependencies selectExpressionDependencies,
            [NotNull] ISelectExpressionFactory selectExpressionFactory,
            [NotNull] ICompositePredicateExpressionVisitorFactory compositePredicateExpressionVisitorFactory,
            [NotNull] IMaterializerFactory materializerFactory,
            [NotNull] IShaperCommandContextFactory shaperCommandContextFactory,
            [NotNull] IRelationalAnnotationProvider relationalAnnotationProvider,
            [NotNull] IQuerySource querySource,
            [NotNull] IReadOnlyList <INavigation> navigationPath,
            [NotNull] RelationalQueryCompilationContext queryCompilationContext,
            [NotNull] IReadOnlyList <int> queryIndexes,
            bool querySourceRequiresTracking)
        {
            Check.NotNull(selectExpressionDependencies, nameof(selectExpressionDependencies));
            Check.NotNull(selectExpressionFactory, nameof(selectExpressionFactory));
            Check.NotNull(compositePredicateExpressionVisitorFactory, nameof(compositePredicateExpressionVisitorFactory));
            Check.NotNull(materializerFactory, nameof(materializerFactory));
            Check.NotNull(shaperCommandContextFactory, nameof(shaperCommandContextFactory));
            Check.NotNull(relationalAnnotationProvider, nameof(relationalAnnotationProvider));
            Check.NotNull(querySource, nameof(querySource));
            Check.NotNull(navigationPath, nameof(navigationPath));
            Check.NotNull(queryCompilationContext, nameof(queryCompilationContext));
            Check.NotNull(queryIndexes, nameof(queryIndexes));

            SelectExpressionDependencies = selectExpressionDependencies;

            _selectExpressionFactory = selectExpressionFactory;
            _compositePredicateExpressionVisitorFactory = compositePredicateExpressionVisitorFactory;
            _materializerFactory          = materializerFactory;
            _shaperCommandContextFactory  = shaperCommandContextFactory;
            _relationalAnnotationProvider = relationalAnnotationProvider;
            _querySource                 = querySource;
            _navigationPath              = navigationPath;
            _queryCompilationContext     = queryCompilationContext;
            _queryIndexes                = queryIndexes;
            _querySourceRequiresTracking = querySourceRequiresTracking;
        }
Example #5
0
 public SqlServerSystemVersioningSelectExpressionFactory(SelectExpressionDependencies dependencies)
     : base(dependencies)
 {
 }
 public SelectExpressionFactoryEx(SelectExpressionDependencies dependencies
                                  //, ITestService parameterNameGeneratorFactory
                                  ) : base(dependencies)
 {
     _Dependecies = dependencies;
 }
Example #7
0
 public SelectExpressionEx(SelectExpressionDependencies dependencies, RelationalQueryCompilationContext queryCompilationContext)
     : base(dependencies, queryCompilationContext)
 {
 }
Example #8
0
 public SelectExpression(SelectExpressionDependencies dependencies, RelationalQueryCompilationContext queryCompilationContext, string alias)
     : base(dependencies, queryCompilationContext, alias)
 {
 }
Example #9
0
 public CustomSelectExpressionFactory(SelectExpressionDependencies dependencies)
     : base(dependencies)
 {
 }