Beispiel #1
0
        public void Edit(Pet pet)
        {
            var entry = db.Entry(pet);

            entry.State = EntityState.Modified;
            db.SaveChanges();
        }
Beispiel #2
0
        public void Edit(Spell spell)
        {
            var entry = db.Entry(spell);

            entry.State = EntityState.Modified;
            db.SaveChanges();
        }
Beispiel #3
0
        public void Edit(Bag bag)
        {
            var entry = db.Entry(bag);

            entry.State = EntityState.Modified;
            db.SaveChanges();
        }
        public void Edit(Character character)
        {
            var entry = db.Entry(character);

            entry.State = EntityState.Modified;
            db.SaveChanges();
        }
        public void Edit(Game game)
        {
            var entry = db.Entry(game);

            entry.State = EntityState.Modified;
            db.SaveChanges();
        }