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: Oct 1, 2015 at 12:41 AM by TitanApps | Created: Oct 1, 2015 at 12:22 AM 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 8:28 PM by TioLuiso | Created: Dec 27, 2013 at 4: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 11:28 AM by UnaiZorrilla | Created: Dec 3, 2013 at 12:26 AM 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 6:22 PM by UnaiZorrilla | Created: Dec 3, 2013 at 12:25 AM by acherryresilience

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