I'm looking for some advice regarding using EDF and ASP.NET. My main concern is the use of contexts within my code. What is the best way to handle contexts? Currently I'm getting the dreaded error: "An entity object cannot be referenced by multiple instances of IEntityChangeTracker."
What's the best way to ensure I'm using the same context? What are the implications for leaving a context 'open' in the Session? Is this a big 'no no' ?
How can I achieve a consistent approach (without having to pass context parameters all over the place) and yet keep my application scalable?
View Complete Post