public static void Update(ClientEditableOrder order) { ClientEditableOrder editable = One(o => o.OrderID == order.OrderID); if (editable != null) { editable.OrderDate = order.OrderDate; editable.Employee = order.Employee; editable.Freight = order.Freight; editable.EmployeeID = order.EmployeeID; } }