Exemplo n.º 1
0
 private void SetUpSchema(Configuration configuration)
 {
     if (ConfigurationUtility.ReadAppSetting <Environment>("Environment") == Environment.Dev)
     {
         DatabaseSetupHelper.RecreateDatabase("CableCo.Accounts", Environment.Dev);
         new SchemaExport(configuration).Create(false, true);
     }
 }
Exemplo n.º 2
0
 private static void SetupDatabase(Configuration configuration)
 {
     // Generate schema ready for tests to run
     DatabaseSetupHelper.RecreateDatabase("CableCo.Accounts", Common.Environment.IntegrationTests);
     new SchemaExport(configuration).Create(false, true);
 }