So, in EF6, you can disable proxy creation, for example:
this.Configuration.ProxyCreationEnabled = false;
From what I could find, the configuration diagram in EF7 has changed, but I canβt find anything about how to do this. I went through https://docs.efproject.net/en/latest/miscellaneous/configuring-dbcontext.html and even analyzed the DbContextOptionsBuilder object, but did not find anything on it.
Am I going about the wrong way or is there something missing? Thanks in advance.
source share