public override void SetupDatabase() { using (var context = new ContentRepositoryImpl()) { var initializer = new SetupDatabaseInitializer <ContentRepositoryImpl, Data.Migrations.Configuration>(); initializer.InitializeDatabase(context); } }
public override void SetupDatabase() { base.SetupDatabase(); using (var context = new ContentRepositoryImpl(_connectionStringName, _container.Resolve <AuditableInterceptor>())) { var initializer = new SetupDatabaseInitializer <ContentRepositoryImpl, Data.Migrations.Configuration>(); initializer.InitializeDatabase(context); } }