.Net Core 2 - EF Core Error handling Save changes
I'm used with EF6 and my Base repository Save() looks like this public void Save() { try { Context.SaveChanges(); } catch (DbEntityValidationException ex) { //Do Stuff } catch (Exception exception) { //Do stuff. } else { throw; } } DbEntityValidationException is an expected error from EF if the object save is invalid. Now that I'm on a new .NET Core 2 project and I need to know what is the Expected entity validation error type in EF Core. Looking through the Github issues, there is no DbEntityValidationException equivalent in Entity Framework Core. There's a blog (linked from issue #9662 on