var existingEntity = (from E in Entities.Include("GoodReceiptItems") where E.ReceiptId == entity.ReceiptId select E).FirstOrDefault(); // Update Good Receipt Repository existingEntity.Merge(entity); Entities.ApplyCurrentValues(existingEntity);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)