Reputation: 1761
I upgraded Pomelo.EntityFrameworkCore.MySql
to version 7.0.0
.
In one part of my C# code, I would use SaveChanges(entity)
to create a record, then I would get that record from a view, using dbSet.Find(id)
and it was working just fine.
Now the Find
method returns null.
When I use set transaction isolation level read uncommitted; select * from TableName
I see that the record is inserted. However, if I simply use select * from TableName
then that record is not shown.
What should I do? This breaks our entire codebase and we have used this pattern a lot. We insert a record, then we get that record from a view that gets a lot of extra information for it.
Upvotes: 0
Views: 97