public void Insert(bandEntity obj) { //inventoryContext context = new inventoryContext(); //context.Brands.Add(obj); //context.SaveChanges(); Igenaric <bandEntity> brandobj = new Genaric <bandEntity>(); brandobj.Insert(obj); }
public storeEntity load(int ID) { Igenaric <storeEntity> CatObj = new Genaric <storeEntity>(); return(CatObj.load(ID)); }
public void delete(int id) { Igenaric <attrebuteEntity> CatObj = new Genaric <attrebuteEntity>(); CatObj.delete(id); }
public catogeryEntity load(int ID) { Igenaric <catogeryEntity> CatObj = new Genaric <catogeryEntity>(); return(CatObj.load(ID)); }
public List <catogeryEntity> LoadAll() { Igenaric <catogeryEntity> Catobj = new Genaric <catogeryEntity>(); return(Catobj.LoadAll()); }
public List <OrderEntity> LoadAll() { Igenaric <OrderEntity> Catobj = new Genaric <OrderEntity>(); return(Catobj.LoadAll()); }
public void update(PruductEntity obj) { Igenaric <PruductEntity> prodObj = new Genaric <PruductEntity>(); prodObj.update(obj); }
public List <PruductEntity> LoadAll() { Igenaric <PruductEntity> prodObj = new Genaric <PruductEntity>(); return(prodObj.LoadAll()); }
public void update(bandEntity obj) { Igenaric <bandEntity> brandObj = new Genaric <bandEntity>(); brandObj.update(obj); }
public bandEntity load(int ID) { Igenaric <bandEntity> brandObj = new Genaric <bandEntity>(); return(brandObj.load(ID)); }
public void delete(int id) { Igenaric <bandEntity> brandObj = new Genaric <bandEntity>(); brandObj.delete(id); }
public List <bandEntity> LoadAll() { Igenaric <bandEntity> brandobj = new Genaric <bandEntity>(); return(brandobj.LoadAll()); }
public void update(attrebuteEntity obj) { Igenaric <attrebuteEntity> CatObj = new Genaric <attrebuteEntity>(); CatObj.update(obj); }
public attrebuteEntity load(int ID) { Igenaric <attrebuteEntity> CatObj = new Genaric <attrebuteEntity>(); return(CatObj.load(ID)); }
public void update(storeEntity obj) { Igenaric <storeEntity> CatObj = new Genaric <storeEntity>(); CatObj.update(obj); }
public void Insert(CompanyEntity obj) { Igenaric <CompanyEntity> Catobj = new Genaric <CompanyEntity>(); Catobj.Insert(obj); }
public void Insert(PruductEntity obj) { Igenaric <PruductEntity> Catobj = new Genaric <PruductEntity>(); Catobj.Insert(obj); }
//public List<VMCompany> LoadData() //{ // inventoryContext context = new inventoryContext(); // List<VMCompany> li = new List<VMCompany>(); // var Count = from d in context.Countres // from g in context.Curency // select new // { ID = d.ID, Country_name= d.Country_name, IDx = g.ID, CrName = g.Curenccy_name }; // foreach (var item in Count ) // { // VMCompany obj = new VMCompany(); // obj.cntVM.ID = item.ID; // obj.cntVM.Country_name = item.Country_name; // obj.curVM.ID = item.IDx; // obj.curVM.Curenccy_name = item.CrName; // li.Add(obj); // } // return li; //} public List <CountryEntity> LoadCnt() { Igenaric <CountryEntity> brandobj = new Genaric <CountryEntity>(); return(brandobj.LoadAll()); }
public PruductEntity load(int id) { Igenaric <PruductEntity> prodObj = new Genaric <PruductEntity>(); return(prodObj.load(id)); }
public List <Curenccy_Entity> LoadCur() { Igenaric <Curenccy_Entity> objbrad = new Genaric <Curenccy_Entity>(); return(objbrad.LoadAll()); }
public void Insert(OrderEntity obj) { Igenaric <OrderEntity> brandobj = new Genaric <OrderEntity>(); brandobj.Insert(obj); }
public CompanyEntity load(int id) { Igenaric <CompanyEntity> prodObj = new Genaric <CompanyEntity>(); return(prodObj.load(id)); }
public void Insert(catogeryEntity obj) { Igenaric <catogeryEntity> Catobj = new Genaric <catogeryEntity>(); Catobj.Insert(obj); }
public void Insert(storeEntity obj) { Igenaric <storeEntity> Catobj = new Genaric <storeEntity>(); Catobj.Insert(obj); }
public void delete(int id) { Igenaric <catogeryEntity> CatObj = new Genaric <catogeryEntity>(); CatObj.delete(id); }
public void delete(int id) { Igenaric <storeEntity> CatObj = new Genaric <storeEntity>(); CatObj.delete(id); }
public void update(catogeryEntity obj) { Igenaric <catogeryEntity> CatObj = new Genaric <catogeryEntity>(); CatObj.update(obj); }
public void Insert(attrebuteEntity obj) { Igenaric <attrebuteEntity> Catobj = new Genaric <attrebuteEntity>(); Catobj.Insert(obj); }