public void IdopontSaveChanges(Idopont ipk)
 {
     Database.Idopontok.Attach(ipk.IdopontElem);
     var entry = Database.Entry(ipk.IdopontElem);
     entry.State = System.Data.EntityState.Modified;
     Database.SaveChanges();
 }
Exemple #2
0
        public void IdopontSaveChanges(Idopont ipk)
        {
            Database.Idopontok.Attach(ipk.IdopontElem);
            var entry = Database.Entry(ipk.IdopontElem);

            entry.State = System.Data.EntityState.Modified;
            Database.SaveChanges();
        }