
.NET Entity context.SaveChanges() not updating the database
There are a couple of likely causes, search Stack Overflow for “EntityStates.Modified”, this might be required in your case. For me this was different, the cause was a table that didn’t have a primary key. Our code used to work then stopped working when we moved to Azure SQL Server. We were making a change... » read more