I created an API using entity framework, the connection is ok, but when I update the data in the database, qlqr one of the fields, the Json in the API does not change.
How to resolve this type of update?
I created an API using entity framework, the connection is ok, but when I update the data in the database, qlqr one of the fields, the Json in the API does not change.
How to resolve this type of update?
Verify that the object you return to API is the same one you upgraded.
If you are recovering the object from the database after the upgrade, try to use AsNoTracking in the query to not lose the information that is cached.