Is ProxyCreationEnabled = false is equal to AsNoTracking() in Entity framework?

asp.net-web-api c# entity-framework-6 linq performance

Popular Answer

Tracking and proxies are two distinct but related ideas.

In order to support advanced features like slow loading, property changes, etc., Proxies generates a derived class during runtime. Even while proxies are often used in a tracking environment, they are not required to be.

If your open context preserves a reference to the returned object and is able to track changes to it, it is indicated by the value Tracking. This is possible both with and without proxies. When you call the context without proxies, it "just compares" all tracked references to their starting state.Save() .

3
11/15/2017 8:25:31 AM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow