Пример #1
0
        public QuerySqlGenerator(QuerySqlGeneratorDependencies dependencies)
        {
            Dependencies = dependencies;

            _relationalCommandBuilderFactory = dependencies.RelationalCommandBuilderFactory;
            _sqlGenerationHelper             = dependencies.SqlGenerationHelper;
        }
        public QuerySqlGenerator([NotNull] QuerySqlGeneratorDependencies dependencies)
        {
            Check.NotNull(dependencies, nameof(dependencies));

            Dependencies = dependencies;

            _relationalCommandBuilderFactory = dependencies.RelationalCommandBuilderFactory;
            _sqlGenerationHelper             = dependencies.SqlGenerationHelper;
        }
Пример #3
0
 /// <summary>
 ///     Creates a new instance of the <see cref="QuerySqlGenerator" /> class.
 /// </summary>
 /// <param name="dependencies"> Parameter object containing dependencies for this class. </param>
 public CassandraQuerySqlGenerator(QuerySqlGeneratorDependencies dependencies) : base(dependencies)
 {
     _sqlGenerationHelper = dependencies.SqlGenerationHelper;
 }
Пример #4
0
 /// <summary>
 ///     Creates a new instance of the <see cref="QuerySqlGenerator" /> class.
 /// </summary>
 /// <param name="dependencies"> Parameter object containing dependencies for this class. </param>
 public CassandraQuerySqlGenerator(CassandraOptions opts, QuerySqlGeneratorDependencies dependencies) : base(dependencies)
 {
     _opts = opts;
     _sqlGenerationHelper = dependencies.SqlGenerationHelper;
 }
Пример #5
0
 public TemporalQuerySqlGeneratorFactory(QuerySqlGeneratorDependencies dependencies)
 {
     _dependencies = dependencies;
 }