When I refresh the entity framework with big table, I get the System.OutOfMemoryException.
Is there any better way to refresh the EF with big tables? I'm using .Net 3.5
Like Darin says the refreshing of the model does not load any of the rows.
Since you are refreshing the model in code, I suspect that there may be something in your code that is loading all the rows, or has an infinate loop.
You can edit the EF model directly by opening the file and editing the xml. But you need to be very carefull if you do this.
I don't know what do you mean by refreshing the EF with big tables but the only way to avoid this exception is to make sure you don't load large amount of data into memory or add more memory to your machine.