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] ILoggerFactory loggerFactory) : base(stateManager, model, entityKeyFactorySource, entityMaterializerSource, collectionAccessorSource, propertySetterSource, connection, batchPreparer, batchExecutor, loggerFactory) { }
public SqlServerDataStoreCreator( [NotNull] SqlServerConnection connection, [NotNull] ModelDiffer modelDiffer, [NotNull] SqlServerMigrationOperationSqlGenerator sqlGenerator, [NotNull] SqlStatementExecutor statementExecutor) { Check.NotNull(connection, "connection"); Check.NotNull(modelDiffer, "modelDiffer"); Check.NotNull(sqlGenerator, "sqlGenerator"); Check.NotNull(statementExecutor, "statementExecutor"); _connection = connection; _modelDiffer = modelDiffer; _sqlGenerator = sqlGenerator; _statementExecutor = statementExecutor; }
public SqlServerMigrator( [NotNull] HistoryRepository historyRepository, [NotNull] MigrationAssembly migrationAssembly, [NotNull] SqlServerModelDiffer modelDiffer, [NotNull] SqlServerMigrationOperationSqlGeneratorFactory sqlGeneratorFactory, [NotNull] SqlServerSqlGenerator sqlGenerator, [NotNull] SqlStatementExecutor sqlStatementExecutor, [NotNull] SqlServerDataStoreCreator storeCreator, [NotNull] SqlServerConnection connection, [NotNull] ILoggerFactory loggerFactory) : base( historyRepository, migrationAssembly, modelDiffer, sqlGeneratorFactory, sqlGenerator, sqlStatementExecutor, storeCreator, connection, loggerFactory) { }
public SqlServerDataStoreServices( [NotNull] SqlServerDataStore store, [NotNull] SqlServerDataStoreCreator creator, [NotNull] SqlServerConnection connection, [NotNull] SqlServerValueGeneratorCache valueGeneratorCache, [NotNull] RelationalDatabase database, [NotNull] ModelBuilderFactory modelBuilderFactory) { Check.NotNull(store, "store"); Check.NotNull(creator, "creator"); Check.NotNull(connection, "connection"); Check.NotNull(valueGeneratorCache, "valueGeneratorCache"); Check.NotNull(database, "database"); Check.NotNull(modelBuilderFactory, "modelBuilderFactory"); _store = store; _creator = creator; _connection = connection; _valueGeneratorCache = valueGeneratorCache; _database = database; _modelBuilderFactory = modelBuilderFactory; }