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# - SharpSVN - How to get the previous revision? -

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

url - Querystring manipulation of email Address in PHP -