public NpgsqlSequenceValueGeneratorFactory( [NotNull] ISqlStatementExecutor executor, [NotNull] INpgsqlSqlGenerator sqlGenerator) { Check.NotNull(executor, nameof(executor)); Check.NotNull(sqlGenerator, nameof(sqlGenerator)); _executor = executor; _sqlGenerator = sqlGenerator; }
public NpgsqlHistoryRepository( [NotNull] INpgsqlEFConnection connection, [NotNull] INpgsqlDataStoreCreator creator, [NotNull] DbContext context, [NotNull] INpgsqlSqlGenerator sqlGenerator) { Check.NotNull(connection, nameof(connection)); Check.NotNull(creator, nameof(creator)); Check.NotNull(context, nameof(context)); Check.NotNull(sqlGenerator, nameof(sqlGenerator)); _connection = connection; _creator = creator; _contextType = context.GetType(); _sql = sqlGenerator; }
public NpgsqlSequenceValueGenerator( [NotNull] ISqlStatementExecutor executor, [NotNull] INpgsqlSqlGenerator sqlGenerator, [NotNull] NpgsqlSequenceValueGeneratorState generatorState, [NotNull] INpgsqlEFConnection connection) : base(Check.NotNull(generatorState, nameof(generatorState))) { Check.NotNull(executor, nameof(executor)); Check.NotNull(sqlGenerator, nameof(sqlGenerator)); Check.NotNull(connection, nameof(connection)); _sequenceName = generatorState.SequenceName; _executor = executor; _sqlGenerator = sqlGenerator; _connection = connection; }
public NpgsqlMigrationSqlGenerator([NotNull] INpgsqlSqlGenerator sqlGenerator) : base(Check.NotNull(sqlGenerator, nameof(sqlGenerator))) { _sql = sqlGenerator; }
public NpgsqlModificationCommandBatch([NotNull] INpgsqlSqlGenerator sqlGenerator) : base(sqlGenerator) { }