I’ve just updated EFProviderWrappers sample to v1.02. It’s a bugfix release, which fixes two bugs:
- NotImplementedException during SaveChanges() when saving more than 1 entity
- Non-query commands were sometimes cached which was causing update to fail
The code can be downloaded from:
http://code.msdn.microsoft.com/EFProviderWrappers/Release/ProjectReleases.aspx?ReleaseId=4747
#1 written by zeeshan Hirani November 1st, 2010 at 13:08
Can u please tell me if i can use that build with EFv1. I see that u have a build for ef v1. Does that build have this issue u mentioned?
#2 written by John February 1st, 2011 at 09:41
It looks like the call to EntityConnectionWrapperUtils.CreateEntityConnectionWithWrappers is not thread-safe. You may want to consider putting locks around the Dictionary calls.