Hello,
I have a suggestion for the generated service class - sometimes it might be good to reload the data after an updates because of changes are made by Database Triggers to reflect them in the grid/form - it would be nice to have a parameter "reload" (default= false in Update and Insert functions like this:
      public async Task<PDBIntern.Models.PDB.Pfuscherakt> UpdatePfuscherakt(int aktid, PDBIntern.Models.PDB.Pfuscherakt pfuscherakt, bool reload = false)
        {
            OnPfuscheraktUpdated(pfuscherakt);
            var itemToUpdate = Context.Pfuscherakts
                              .Where(i => i.Akt_ID == pfuscherakt.Akt_ID)
                              .FirstOrDefault();
            if (itemToUpdate == null)
            {
                throw new Exception("Item no longer available");
            }
            var entryToUpdate = Context.Entry(itemToUpdate);
            entryToUpdate.CurrentValues.SetValues(pfuscherakt);
            entryToUpdate.State = EntityState.Modified;
            Context.SaveChanges();
            if (reload)
                await Context.Entry(pfuscherakt).ReloadAsync();
            OnAfterPfuscheraktUpdated(pfuscherakt);
            return pfuscherakt;
        }
what do you think?
robert