Entity Framework 6 AutoDetectChangesEnabled

.net c# entity-framework-6

Question

I can disable AutoDetectChangesEnabled with Entity Framework 6?

If i use context.Configuration.AutoDetectChangesEnabled = false

I get the error message:

does not contain a definition of 'Configuration' and was not found no extension method 'Configuration' accepting a first argument of type

1
0
4/10/2017 3:24:16 PM

Popular Answer

I solved following this tutorial: https://msdn.microsoft.com/en-us/library/jj206878(v=vs.113).aspx.

I had forgotten to install DbContext from NuGet

0
4/10/2017 10:02:43 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