public SqlServerDataStoreServices( [NotNull] SqlServerDataStore store, [NotNull] SqlServerDataStoreCreator creator, [NotNull] SqlServerConnection connection, [NotNull] SqlServerValueGeneratorCache valueGeneratorCache, [NotNull] SqlServerDatabase database, [NotNull] ModelBuilderFactory modelBuilderFactory, [NotNull] SqlServerMigrator migrator) { Check.NotNull(store, "store"); Check.NotNull(creator, "creator"); Check.NotNull(connection, "connection"); Check.NotNull(valueGeneratorCache, "valueGeneratorCache"); Check.NotNull(database, "database"); Check.NotNull(modelBuilderFactory, "modelBuilderFactory"); Check.NotNull(migrator, "migrator"); _store = store; _creator = creator; _connection = connection; _valueGeneratorCache = valueGeneratorCache; _database = database; _modelBuilderFactory = modelBuilderFactory; _migrator = migrator; }
public SqlServerDatabase( [NotNull] DbContextService <IModel> model, [NotNull] SqlServerDataStoreCreator dataStoreCreator, [NotNull] SqlServerConnection connection, [NotNull] SqlServerMigrator migrator, [NotNull] ILoggerFactory loggerFactory) : base(model, dataStoreCreator, connection, migrator, loggerFactory) { }