You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you add one entity to the database using proxies, and then try to query it with proxies disabled, you won't receive any data. It seems like enabling vs disabling proxies creates two separate databases.
@genne This is a manifestation of #9613 since model built for lazy-loading proxies is different than the one built for non-proxies, causing in this case a different service provider to be built. See PR #9692 for the way to force use of the same in-memory database database. See also #12895 which will allow proxy creation to be switched on and off without this side effect.
If you add one entity to the database using proxies, and then try to query it with proxies disabled, you won't receive any data. It seems like enabling vs disabling proxies creates two separate databases.
Steps to reproduce
Further technical details
EF Core version: 2.1.2
Database Provider: Microsoft.EntityFrameworkCore.InMemory
Operating system: Windows 10
IDE: Visual Studio 2017 15.8.1
The text was updated successfully, but these errors were encountered: