Unload large context objects. Is it possible?

Unload large context objects. Is it possible?

Postby mpovidlov » Wed 04 Feb 2009 03:55

I am loading large blobs (~10Mb) to the database using Entities.
I create an object that represents a row in the table. Then I add it using the generated method to the context, then I call SaveChanges() and then I do not need to keep it in memory, otherwise I will run out of memory.
Is it possible to unload the stored object from memory right after saving it to the database?
Thanks
mpovidlov
 
Posts: 20
Joined: Tue 06 Jan 2009 00:34
Location: US

Postby AndreyR » Wed 04 Feb 2009 12:52

Sorry, but this question is rather associated with Entity Framework usage, and exceeds the bounds of our support.
Take a look at this link:
http://msdn.microsoft.com/en-us/library/bb738611.aspx
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16


Return to dotConnect for Oracle