How to refresh child

Jan 26, 2010 at 8:26 PM

Thank you for the last reply

Here is another question. I loaded a  Customer into memory with its Orders and OrderDetails.  Then I  called a stored procedure  through DataContext to update some OrderDetail.  Now I have to refresh the OrderDetail  in memory.  Is there a way to do this?

Coordinator
Jan 29, 2010 at 3:09 AM

Hi,

I believe you can achieve this by using the stored procedures output parameters.

Scott Gu talks about it here:

http://weblogs.asp.net/scottgu/archive/2007/08/23/linq-to-sql-part-7-updating-our-database-using-stored-procedures.aspx

Cheers

Matt