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? -

c# - SharpSVN - How to get the previous revision? -

php cli reading files and how to fix it? -