Open tobimax opened 13 years ago
Hi Toby,
Sorry for the late response, last couple of days have been a little hectic. NCommon's EF repository does not handle setting the merge option of queries. In what scenarios are you looking to set the MergeOption?
Thanks, Ritesh
On Sun, Sep 11, 2011 at 4:43 PM, tobimax < reply@reply.github.com>wrote:
Hi,
Does NCommon support MergeOption.NoTracking etc for the EF Repositories?
Regards
Toby.
Reply to this email directly or view it on GitHub: https://github.com/riteshrao/ncommon/issues/27
No, worries, thanks for coming back to me. In EF 4 you can use for example MergeOption.NoTracking to effectivley pre- detach your entities, improves performance slighlty. I guessed it didn't support it as the base class & inetrface doesn't have it in there so I actually made a change to the code to suit my senario.
regards
Toby
Hi,
Does NCommon support MergeOption.NoTracking etc for the EF Repositories?
Regards
Toby.