For troubleshooting purposes I wanted to put a break on DBContext.SaveChanges
Using the code I uploaded in 474659
I put inside T474565DbContext
C#public override int SaveChanges()
{
Console.WriteLine("Saving");
throw new Exception("Cant save");
return base.SaveChanges();
}
I was surprised that this does not get called when I click Save Changes.
Am I missing something?