コード例 #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 SqlServerParameterBasedSqlProcessor(
     [NotNull] RelationalParameterBasedSqlProcessorDependencies dependencies,
     bool useRelationalNulls)
     : base(dependencies, useRelationalNulls)
 {
     _searchConditionConvertingExpressionVisitor = new SearchConditionConvertingExpressionVisitor(dependencies.SqlExpressionFactory);
 }
コード例 #2
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 RelationalParameterBasedSqlProcessorFactory(
            RelationalParameterBasedSqlProcessorDependencies dependencies)
        {
            Check.NotNull(dependencies, nameof(dependencies));

            _dependencies = dependencies;
        }
コード例 #3
0
 public MySqlParameterBasedSqlProcessorFactory(
     [NotNull] RelationalParameterBasedSqlProcessorDependencies dependencies,
     [NotNull] IMySqlOptions options)
 {
     _dependencies = dependencies;
     _options      = options;
 }
コード例 #4
0
 /// <summary>
 ///     Creates a new instance of the <see cref="QueryTranslationPostprocessor" /> class.
 /// </summary>
 /// <param name="dependencies">Parameter object containing dependencies for this class.</param>
 /// <param name="useRelationalNulls">A bool value indicating if relational nulls should be used.</param>
 public RelationalParameterBasedSqlProcessor(
     RelationalParameterBasedSqlProcessorDependencies dependencies,
     bool useRelationalNulls)
 {
     Dependencies       = dependencies;
     UseRelationalNulls = useRelationalNulls;
 }
コード例 #5
0
 public MySqlParameterBasedSqlProcessor(
     [NotNull] RelationalParameterBasedSqlProcessorDependencies dependencies,
     bool useRelationalNulls,
     IMySqlOptions options)
     : base(dependencies, useRelationalNulls)
 {
     _options = options;
 }
        /// <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 FromSqlParameterExpandingExpressionVisitor(
            RelationalParameterBasedSqlProcessorDependencies dependencies)
        {
            Dependencies = dependencies;

            _sqlExpressionFactory          = dependencies.SqlExpressionFactory;
            _typeMappingSource             = dependencies.TypeMappingSource;
            _parameterNameGeneratorFactory = dependencies.ParameterNameGeneratorFactory;
            _parametersValues       = default !;
 public MySqlParameterBasedSqlProcessor(
     [NotNull] RelationalParameterBasedSqlProcessorDependencies dependencies,
     bool useRelationalNulls,
     IMySqlOptions options)
     : base(dependencies, useRelationalNulls)
 {
     _sqlExpressionFactory = (MySqlSqlExpressionFactory)Dependencies.SqlExpressionFactory;
     _options = options;
 }
コード例 #8
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 FromSqlParameterExpandingExpressionVisitor(
            [NotNull] RelationalParameterBasedSqlProcessorDependencies dependencies)
        {
            Check.NotNull(dependencies, nameof(dependencies));

            _sqlExpressionFactory          = dependencies.SqlExpressionFactory;
            _typeMappingSource             = dependencies.TypeMappingSource;
            _parameterNameGeneratorFactory = dependencies.ParameterNameGeneratorFactory;
        }
コード例 #9
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 SqlServerSqlNullabilityProcessor(
     RelationalParameterBasedSqlProcessorDependencies dependencies,
     bool useRelationalNulls)
     : base(dependencies, useRelationalNulls)
 {
 }
コード例 #10
0
 public VfpSqlNullabilityProcessor([NotNull] RelationalParameterBasedSqlProcessorDependencies dependencies, bool useRelationalNulls) : base(dependencies, useRelationalNulls)
 {
 }
コード例 #11
0
 public TemporalParameterBasedSqlProcessor(
     RelationalParameterBasedSqlProcessorDependencies dependencies, bool useRelationalNulls)
     : base(dependencies, useRelationalNulls)
 {
 }
コード例 #12
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 SqlServerParameterBasedSqlProcessorFactory(
     [NotNull] RelationalParameterBasedSqlProcessorDependencies dependencies)
 {
     _dependencies = dependencies;
 }
コード例 #13
0
 public TemporalRelationalParameterBasedSqlProcessorFactory(
     RelationalParameterBasedSqlProcessorDependencies dependencies)
 {
     _dependencies = dependencies;
 }
 /// <summary>
 /// Creates a new instance of the <see cref="MySqlSqlNullabilityProcessor" /> class.
 /// </summary>
 /// <param name="dependencies">Parameter object containing dependencies for this class.</param>
 /// <param name="useRelationalNulls">A bool value indicating whether relational null semantics are in use.</param>
 public MySqlSqlNullabilityProcessor(
     [NotNull] RelationalParameterBasedSqlProcessorDependencies dependencies,
     bool useRelationalNulls)
     : base(dependencies, useRelationalNulls)
     => _sqlExpressionFactory = dependencies.SqlExpressionFactory;
 public VfpParameterBasedSqlProcessorFactory(
     [NotNull] RelationalParameterBasedSqlProcessorDependencies dependencies)
 {
     _dependencies = dependencies.ThrowIfNull(nameof(dependencies));
 }
コード例 #16
0
 public NpgsqlParameterBasedSqlProcessor(
     [NotNull] RelationalParameterBasedSqlProcessorDependencies dependencies,
     bool useRelationalNulls)
     : base(dependencies, useRelationalNulls)
     => _sqlNullabilityProcessor = new NpgsqlSqlNullabilityProcessor(dependencies, useRelationalNulls);
コード例 #17
0
 public SqlServerParameterBasedSqlProcessor(
     [NotNull] RelationalParameterBasedSqlProcessorDependencies dependencies,
     bool useRelationalNulls)
     : base(dependencies, useRelationalNulls)
 {
 }
コード例 #18
0
 public NpgsqlParameterBasedSqlProcessorFactory(
     RelationalParameterBasedSqlProcessorDependencies dependencies)
 => _dependencies = dependencies;
コード例 #19
0
 /// <inheritdoc />
 public ThinktectureSqlNullabilityProcessor(
     RelationalParameterBasedSqlProcessorDependencies dependencies,
     bool useRelationalNulls)
     : base(dependencies, useRelationalNulls)
 {
 }
コード例 #20
0
 /// <summary>
 /// Initializes new instance of <see cref="ThinktectureRelationalParameterBasedSqlProcessorFactory"/>.
 /// </summary>
 /// <param name="dependencies">Dependencies.</param>
 public ThinktectureRelationalParameterBasedSqlProcessorFactory(RelationalParameterBasedSqlProcessorDependencies dependencies)
 {
     _dependencies = dependencies;
 }