예제 #1
0
        public void SayfaSatirAllKolonGuncelle(SayfaNewItemSatir model)
        {
            ContextDataModel db = new ContextDataModel();

            db.SayfaNewItemSatir.Attach(model);
            db.Entry(model).Property(x => x.SayfaNewItemSatirAllKolon).IsModified = true;
            db.SaveChanges();
        }
예제 #2
0
        public void SayfaNewItemKolonGuncelle(int satirid, SayfaNewItemSatir model)
        {
            ContextDataModel db = new ContextDataModel();

            db.SayfaNewItemSatir.Attach(model);
        }