public static void AbstractFactoryInTesting() { IDataBaseSetupFactory dbType = GetDataBaseType(); var createTestData = new SetupDataBaseFactory(dbType); createTestData.Run(); //Direct creation example new SqlAccountsManager().CreateAccount(); }
public SetupDataBaseFactory(IDataBaseSetupFactory factory) { this.factory = factory; }