I have a rather large SQL backed ASP.NET project that uses Entity Framework to interact with the database.
My question is, should I create an instance of the ObjectContext defined by the edmx/designer files in each class/method -or- wrap it around a static class that would instantiate onload and basically handle all requests through one instance.
I will have multiple users using the ObjectContext to read and update the DB, concurrency and thread safety are my utmost concerns.
EDIT: This code would ultimately run in IIS and be susceptible to recycling.