The buzword in Linq now days is "unit of work". as in "Only keep your datacontext in existence for one unit of work" then destroy it.
Well I have a few questions about that.
- I am creating a fat client WPF application. So my data context needs to track the entire web of instantiated object available for the user on the current screen. when can I destroy my datacontext?
- I build a linq query over time based on actions of the user and their interactions with objects of the first datacontext. How can I create a new DataContext and execute the query on new Context?
I hope I was clear. Thank you