I do this to save new invoince in my Invoices database table:
// insert invoice into EDM
edmx.AddToInvoices(newinvoice);
// save EDM changes to datastore
edmx.SaveChanges();
I have a trigger on one of the columns that gets computed dynamically by the database. What is the 1) easiest way to get that value out of the database immediatelly after it changes, 2) What is the fastest way?
Thanks