Exemplo n.º 1
0
 public NpgsqlCommandBatchPreparer(
     [NotNull] INpgsqlModificationCommandBatchFactory modificationCommandBatchFactory,
     [NotNull] IParameterNameGeneratorFactory parameterNameGeneratorFactory,
     [NotNull] IComparer <ModificationCommand> modificationCommandComparer,
     [NotNull] INpgsqlValueBufferFactoryFactory valueBufferFactoryFactory)
     : base(
         modificationCommandBatchFactory,
         parameterNameGeneratorFactory,
         modificationCommandComparer,
         valueBufferFactoryFactory)
 {
 }
 public NpgsqlQueryCompilationContext(
     [NotNull] IModel model,
     [NotNull] ILogger logger,
     [NotNull] ILinqOperatorProvider linqOperatorProvider,
     [NotNull] IResultOperatorHandler resultOperatorHandler,
     [NotNull] IEntityMaterializerSource entityMaterializerSource,
     [NotNull] IEntityKeyFactorySource entityKeyFactorySource,
     [NotNull] IClrAccessorSource <IClrPropertyGetter> clrPropertyGetterSource,
     [NotNull] IQueryMethodProvider queryMethodProvider,
     [NotNull] IMethodCallTranslator methodCallTranslator,
     [NotNull] INpgsqlValueBufferFactoryFactory valueBufferFactoryFactory)
     : base(
         Check.NotNull(model, nameof(model)),
         Check.NotNull(logger, nameof(logger)),
         Check.NotNull(linqOperatorProvider, nameof(linqOperatorProvider)),
         Check.NotNull(resultOperatorHandler, nameof(resultOperatorHandler)),
         Check.NotNull(entityMaterializerSource, nameof(entityMaterializerSource)),
         Check.NotNull(entityKeyFactorySource, nameof(entityKeyFactorySource)),
         Check.NotNull(clrPropertyGetterSource, nameof(clrPropertyGetterSource)),
         Check.NotNull(queryMethodProvider, nameof(queryMethodProvider)),
         Check.NotNull(methodCallTranslator, nameof(methodCallTranslator)),
         Check.NotNull(valueBufferFactoryFactory, nameof(valueBufferFactoryFactory)))
 {
 }
Exemplo n.º 3
0
 public NpgsqlDataStore(
     [NotNull] IModel model,
     [NotNull] IEntityKeyFactorySource entityKeyFactorySource,
     [NotNull] IEntityMaterializerSource entityMaterializerSource,
     [NotNull] IClrAccessorSource <IClrPropertyGetter> clrPropertyGetterSource,
     [NotNull] INpgsqlEFConnection connection,
     [NotNull] INpgsqlCommandBatchPreparer batchPreparer,
     [NotNull] INpgsqlBatchExecutor batchExecutor,
     [NotNull] IDbContextOptions options,
     [NotNull] ILoggerFactory loggerFactory,
     [NotNull] INpgsqlValueBufferFactoryFactory valueBufferFactoryFactory)
     : base(
         Check.NotNull(model, nameof(model)),
         Check.NotNull(entityKeyFactorySource, nameof(entityKeyFactorySource)),
         Check.NotNull(entityMaterializerSource, nameof(entityMaterializerSource)),
         Check.NotNull(clrPropertyGetterSource, nameof(clrPropertyGetterSource)),
         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)),
         Check.NotNull(valueBufferFactoryFactory, nameof(valueBufferFactoryFactory)))
 {
 }