private void SetUpSchema(Configuration configuration) { if (ConfigurationUtility.ReadAppSetting <Environment>("Environment") == Environment.Dev) { DatabaseSetupHelper.RecreateDatabase("CableCo.Accounts", Environment.Dev); new SchemaExport(configuration).Create(false, true); } }
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); }