示例#1
0
        public static void AbstractFactoryInTesting()
        {
            IDataBaseSetupFactory dbType = GetDataBaseType();
            var createTestData           = new SetupDataBaseFactory(dbType);

            createTestData.Run();

            //Direct creation example
            new SqlAccountsManager().CreateAccount();
        }
示例#2
0
 public SetupDataBaseFactory(IDataBaseSetupFactory factory)
 {
     this.factory = factory;
 }