Пример #1
0
 public NpgsqlDataStore(
     [NotNull] IModel model,
     [NotNull] IEntityKeyFactorySource entityKeyFactorySource,
     [NotNull] IEntityMaterializerSource entityMaterializerSource,
     [NotNull] NpgsqlEntityFrameworkConnection connection,
     [NotNull] NpgsqlCommandBatchPreparer batchPreparer,
     [NotNull] NpgsqlBatchExecutor batchExecutor,
     [NotNull] IDbContextOptions options,
     [NotNull] ILoggerFactory loggerFactory)
     : base(model, entityKeyFactorySource, entityMaterializerSource,
            connection, batchPreparer, batchExecutor, options, loggerFactory)
 {
 }
Пример #2
0
 public NpgsqlDataStore(
     [NotNull] IModel model,
     [NotNull] IEntityKeyFactorySource entityKeyFactorySource,
     [NotNull] IEntityMaterializerSource entityMaterializerSource,
     [NotNull] INpgsqlEFConnection connection,
     [NotNull] NpgsqlCommandBatchPreparer batchPreparer,
     [NotNull] NpgsqlBatchExecutor batchExecutor,
     [NotNull] IDbContextOptions options,
     [NotNull] ILoggerFactory loggerFactory)
     : base(
         Check.NotNull(model, nameof(model)),
         Check.NotNull(entityKeyFactorySource, nameof(entityKeyFactorySource)),
         Check.NotNull(entityMaterializerSource, nameof(entityMaterializerSource)),
         Check.NotNull(connection, nameof(connection)),
         Check.NotNull(batchPreparer, nameof(batchPreparer)),
         Check.NotNull(batchExecutor, nameof(batchExecutor)),
         Check.NotNull(options, nameof(options)),
         Check.NotNull(loggerFactory, nameof(loggerFactory)))
 {
 }