public SqlStoreWithBufferReader( StateManager stateManager, DbContextService <IModel> model, EntityKeyFactorySource entityKeyFactorySource, EntityMaterializerSource entityMaterializerSource, ClrCollectionAccessorSource collectionAccessorSource, ClrPropertySetterSource propertySetterSource, SqlServerConnection connection, SqlServerCommandBatchPreparer batchPreparer, SqlServerBatchExecutor batchExecutor, ILoggerFactory loggerFactory) : base(stateManager, model, entityKeyFactorySource, entityMaterializerSource, collectionAccessorSource, propertySetterSource, connection, batchPreparer, batchExecutor, loggerFactory) { }
public FakeRelationalDataStore( StateManager stateManager, DbContextService <IModel> model, EntityKeyFactorySource entityKeyFactorySource, EntityMaterializerSource entityMaterializerSource, ClrCollectionAccessorSource collectionAccessorSource, ClrPropertySetterSource propertySetterSource, RelationalConnection connection, CommandBatchPreparer batchPreparer, BatchExecutor batchExecutor, ILoggerFactory loggerFactory) : base(stateManager, model, entityKeyFactorySource, entityMaterializerSource, collectionAccessorSource, propertySetterSource, connection, batchPreparer, batchExecutor, loggerFactory) { }
public SqlServerDataStore( [NotNull] StateManager stateManager, [NotNull] DbContextService <IModel> model, [NotNull] EntityKeyFactorySource entityKeyFactorySource, [NotNull] EntityMaterializerSource entityMaterializerSource, [NotNull] ClrCollectionAccessorSource collectionAccessorSource, [NotNull] ClrPropertySetterSource propertySetterSource, [NotNull] SqlServerConnection connection, [NotNull] SqlServerCommandBatchPreparer batchPreparer, [NotNull] SqlServerBatchExecutor batchExecutor, [NotNull] DbContextService <IDbContextOptions> options, [NotNull] ILoggerFactory loggerFactory) : base(stateManager, model, entityKeyFactorySource, entityMaterializerSource, collectionAccessorSource, propertySetterSource, connection, batchPreparer, batchExecutor, options, loggerFactory) { }
public InMemoryQueryCompilationContext( [NotNull] IModel model, [NotNull] ILogger logger, [NotNull] EntityKeyFactorySource entityKeyFactorySource, [NotNull] InMemoryDatabase database) : base( Check.NotNull(model, "model"), Check.NotNull(logger, "logger"), new LinqOperatorProvider(), new ResultOperatorHandler()) { Check.NotNull(entityKeyFactorySource, "entityKeyFactorySource"); Check.NotNull(database, "database"); _entityKeyFactorySource = entityKeyFactorySource; _database = database; }
public QueryBuffer( [NotNull] StateManager stateManager, [NotNull] EntityKeyFactorySource entityKeyFactorySource, [NotNull] EntityMaterializerSource materializerSource, [NotNull] ClrCollectionAccessorSource clrCollectionAccessorSource, [NotNull] ClrPropertySetterSource clrPropertySetterSource) { Check.NotNull(stateManager, "stateManager"); Check.NotNull(entityKeyFactorySource, "entityKeyFactorySource"); Check.NotNull(materializerSource, "materializerSource"); Check.NotNull(clrCollectionAccessorSource, "clrCollectionAccessorSource"); Check.NotNull(clrPropertySetterSource, "clrPropertySetterSource"); _stateManager = stateManager; _entityKeyFactorySource = entityKeyFactorySource; _materializerSource = materializerSource; _clrCollectionAccessorSource = clrCollectionAccessorSource; _clrPropertySetterSource = clrPropertySetterSource; }
protected RelationalDataStore( [NotNull] StateManager stateManager, [NotNull] DbContextService <IModel> model, [NotNull] EntityKeyFactorySource entityKeyFactorySource, [NotNull] EntityMaterializerSource entityMaterializerSource, [NotNull] ClrCollectionAccessorSource collectionAccessorSource, [NotNull] ClrPropertySetterSource propertySetterSource, [NotNull] RelationalConnection connection, [NotNull] CommandBatchPreparer batchPreparer, [NotNull] BatchExecutor batchExecutor, [NotNull] ILoggerFactory loggerFactory) : base(stateManager, model, entityKeyFactorySource, entityMaterializerSource, collectionAccessorSource, propertySetterSource, loggerFactory) { Check.NotNull(connection, "connection"); Check.NotNull(batchPreparer, "batchPreparer"); Check.NotNull(batchExecutor, "batchExecutor"); _batchPreparer = batchPreparer; _batchExecutor = batchExecutor; _connection = connection; }
public static EntityServicesBuilder UseEntityKeyFactorySource([NotNull] this EntityServicesBuilder builder, [NotNull] EntityKeyFactorySource source) { Check.NotNull(source, "source"); builder.ServiceCollection.AddInstance(source); return(builder); }