Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
        public storeEntity load(int ID)
        {
            Igenaric <storeEntity> CatObj = new Genaric <storeEntity>();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            Catobj.Insert(obj);
        }