Example #1
0
 public static DalFacade GetInstance()
 {
     if (instance == null)
     {
         instance = new DalFacade();
     }
     return instance;
 }
Example #2
0
 public ShoppingCardModel(DalFacade facade)
 {
     this.facade = facade;
 }
Example #3
0
 public void TearDown()
 {
     Facade = null;
 }
 public void SetUp()
 {
     Facade = DalFacade.GetInstance();
     shoppingCardModel = new ShoppingCardModel(Facade);
     Item = new ShoppingCardItem();
 }
Example #5
0
 public void SetUp()
 {
     DBInitializer.Initialze();
     Facade = DalFacade.GetInstance();
 }