I have a Customer object with the Navigation property Days (days is a separate table that has day_id, customer_id is FK).
mycontext.Customers.ApplyCurrentValues(cust); mycontext.SaveChanges();
This updates the scalar properties of the Client, not the days. Is there any smart way to update Days? (without repeating manually by day ..)? if not - is there any best practice for updating the second table (days)? If possible, write that explicit code should be used.
ps I am currently using EF 4.0
source share