Beispiel #1
0
        public void Insert(bandEntity obj)
        {
            //inventoryContext context = new inventoryContext();
            //context.Brands.Add(obj);
            //context.SaveChanges();

            Igenaric <bandEntity> brandobj = new Genaric <bandEntity>();

            brandobj.Insert(obj);
        }
Beispiel #2
0
        public storeEntity load(int ID)
        {
            Igenaric <storeEntity> CatObj = new Genaric <storeEntity>();

            return(CatObj.load(ID));
        }
Beispiel #3
0
        public void delete(int id)
        {
            Igenaric <attrebuteEntity> CatObj = new Genaric <attrebuteEntity>();

            CatObj.delete(id);
        }
Beispiel #4
0
        public catogeryEntity load(int ID)
        {
            Igenaric <catogeryEntity> CatObj = new Genaric <catogeryEntity>();

            return(CatObj.load(ID));
        }
Beispiel #5
0
        public List <catogeryEntity> LoadAll()
        {
            Igenaric <catogeryEntity> Catobj = new Genaric <catogeryEntity>();

            return(Catobj.LoadAll());
        }
Beispiel #6
0
        public List <OrderEntity> LoadAll()
        {
            Igenaric <OrderEntity> Catobj = new Genaric <OrderEntity>();

            return(Catobj.LoadAll());
        }
Beispiel #7
0
        public void update(PruductEntity obj)
        {
            Igenaric <PruductEntity> prodObj = new Genaric <PruductEntity>();

            prodObj.update(obj);
        }
Beispiel #8
0
        public List <PruductEntity> LoadAll()
        {
            Igenaric <PruductEntity> prodObj = new Genaric <PruductEntity>();

            return(prodObj.LoadAll());
        }
Beispiel #9
0
        public void update(bandEntity obj)
        {
            Igenaric <bandEntity> brandObj = new Genaric <bandEntity>();

            brandObj.update(obj);
        }
Beispiel #10
0
        public bandEntity load(int ID)
        {
            Igenaric <bandEntity> brandObj = new Genaric <bandEntity>();

            return(brandObj.load(ID));
        }
Beispiel #11
0
        public void delete(int id)
        {
            Igenaric <bandEntity> brandObj = new Genaric <bandEntity>();

            brandObj.delete(id);
        }
Beispiel #12
0
        public List <bandEntity> LoadAll()
        {
            Igenaric <bandEntity> brandobj = new Genaric <bandEntity>();

            return(brandobj.LoadAll());
        }
Beispiel #13
0
        public void update(attrebuteEntity obj)
        {
            Igenaric <attrebuteEntity> CatObj = new Genaric <attrebuteEntity>();

            CatObj.update(obj);
        }
Beispiel #14
0
        public attrebuteEntity load(int ID)
        {
            Igenaric <attrebuteEntity> CatObj = new Genaric <attrebuteEntity>();

            return(CatObj.load(ID));
        }
Beispiel #15
0
        public void update(storeEntity obj)
        {
            Igenaric <storeEntity> CatObj = new Genaric <storeEntity>();

            CatObj.update(obj);
        }
Beispiel #16
0
        public void Insert(CompanyEntity obj)
        {
            Igenaric <CompanyEntity> Catobj = new Genaric <CompanyEntity>();

            Catobj.Insert(obj);
        }
Beispiel #17
0
        public void Insert(PruductEntity obj)
        {
            Igenaric <PruductEntity> Catobj = new Genaric <PruductEntity>();

            Catobj.Insert(obj);
        }
Beispiel #18
0
        //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());
        }
Beispiel #19
0
        public PruductEntity  load(int id)
        {
            Igenaric <PruductEntity> prodObj = new Genaric <PruductEntity>();

            return(prodObj.load(id));
        }
Beispiel #20
0
        public List <Curenccy_Entity> LoadCur()
        {
            Igenaric <Curenccy_Entity> objbrad = new Genaric <Curenccy_Entity>();

            return(objbrad.LoadAll());
        }
Beispiel #21
0
        public void Insert(OrderEntity obj)
        {
            Igenaric <OrderEntity> brandobj = new Genaric <OrderEntity>();

            brandobj.Insert(obj);
        }
Beispiel #22
0
        public CompanyEntity load(int id)
        {
            Igenaric <CompanyEntity> prodObj = new Genaric <CompanyEntity>();

            return(prodObj.load(id));
        }
Beispiel #23
0
        public void Insert(catogeryEntity obj)
        {
            Igenaric <catogeryEntity> Catobj = new Genaric <catogeryEntity>();

            Catobj.Insert(obj);
        }
Beispiel #24
0
        public void Insert(storeEntity obj)
        {
            Igenaric <storeEntity> Catobj = new Genaric <storeEntity>();

            Catobj.Insert(obj);
        }
Beispiel #25
0
        public void delete(int id)
        {
            Igenaric <catogeryEntity> CatObj = new Genaric <catogeryEntity>();

            CatObj.delete(id);
        }
Beispiel #26
0
        public void delete(int id)
        {
            Igenaric <storeEntity> CatObj = new Genaric <storeEntity>();

            CatObj.delete(id);
        }
Beispiel #27
0
        public void update(catogeryEntity obj)
        {
            Igenaric <catogeryEntity> CatObj = new Genaric <catogeryEntity>();

            CatObj.update(obj);
        }
Beispiel #28
0
        public void Insert(attrebuteEntity obj)
        {
            Igenaric <attrebuteEntity> Catobj = new Genaric <attrebuteEntity>();

            Catobj.Insert(obj);
        }