public BL_imp() { dal = DAL.FactoryDal.getDal(); //Order o1 = new Order //{ // OrderCode = 0, // OrderDate = DateTime.Now, // Branch = 10001, // OrderHechsher = MyEnums.Hechsher.medium, // CostumerName = "צבי הלוי", // Adress = "asdf", // Position = "asdf", // provided = false, // CreditCard = "11111111" //}; //Order o2 = new Order //{ // OrderCode = 0, // OrderDate = DateTime.Now, // Branch = 10001, // OrderHechsher = MyEnums.Hechsher.best, // CostumerName = "יעקוב שמיר", // Adress = "asdf", // Position = "asdf", // provided = true, // CreditCard = "55555555" //}; //Order o3 = new Order //{ // OrderCode = 0, // OrderDate = DateTime.Now, // Branch = 10001, // OrderHechsher = MyEnums.Hechsher.best, // CostumerName = "מירים יעקובי", // Adress = "asdf", // Position = "asdf", // provided = false, // CreditCard = "6666666666666666" //}; //Order o4 = new Order //{ // OrderCode = 0, // OrderDate = DateTime.Now, // Branch = 10001, // OrderHechsher = MyEnums.Hechsher.best, // CostumerName = "שירה אזרחי", // Adress = "asdf", // Position = "asdf", // provided = true, // CreditCard = "6666666666666666" //}; //this.AddOrder(o1); //this.AddOrder(o2); //this.AddOrder(o3); //this.AddOrder(o4); }
public ClassBLAdapter() { DAL.Idal dal = FactoryDAL.getDAL(); }
public Bl_imp() { dal = DALFactory.GetIdal(); DS.DataSource.initializeList(); }
public BL_imp() { DAL.factoryDal factory = new DAL.factoryDal(); dal = factory.getDal(); }
public IBL_Imp()//ctor { dal = DAL.FactoryDal.GetDal(); }