DbUpdateConcurrencyException on insert of non-key identity value

EF 5.x or 6.x (Database First) I am getting a DbUpdateConcurrencyException on DBContext.SaveChanges() after inserting a new (Detached) object with an identity column which is not part of the pri...

Id #5 | Release: None | Updated: Sep 30, 2015 at 11:41 PM by TitanApps | Created: Sep 30, 2015 at 11:22 PM by TitanApps

The type or namespace name 'PerformanceInterceptor' could not be found (are you missing a using directive or an assembly reference?)

First of all, great work Tried to fiddle with Performance Interceptors, following your post: http://geeks.ms/blogs/unai/archive/2013/12/27/ef-6-contrib-performance-interceptors.aspx Just create...

Id #4 | Release: None | Updated: Dec 27, 2013 at 7:28 PM by TioLuiso | Created: Dec 27, 2013 at 3:56 PM by TioLuiso

Allow logging level to be set

Right now, the logging level is hard-coded to Info. I recommend that the logging level be configurable.

Id #3 | Release: None | Updated: Dec 4, 2013 at 10:28 AM by UnaiZorrilla | Created: Dec 2, 2013 at 11:26 PM by acherryresilience

IsFooEnabled guards for logging activity

Since constructing the log messages is not a negligible amount of work, I recommend that the logging activity be guarded with _log.IsInfoEnabled or whatever the appropriate logging level is.

Id #2 | Release: None | Updated: Dec 17, 2013 at 5:22 PM by UnaiZorrilla | Created: Dec 2, 2013 at 11:25 PM by acherryresilience

  • 1-4 of 4 Work Items
    • Previous
    • 1
    • Next
    • Showing
    • All
    • Work Items