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