c# - how do i disable Caching in Entity Framework from Config file -


i running problems huge objects occupy memory , reference not being released. used .net memory profiler find out root object , references entity framework class.

is there way can disable caching of queried objects in entity framework without chanign code? in config file may be?

you should have using statements dispose objectcontext. ef keeps object graph of queried objects. think use objectcontext.detach(entity); detach entities objectcontext.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -