Instantiating a context in LINQ to Entities
Creating a new ObjectContext each time does involve ‘some’ overhead. Essentially the overhead involved is copying metadata from a global cache into metadata associated with the specific ObjectContext. This overhead is relatively minor, so often it is not worth worrying about, especially when you consider the extra safety inherent in the using pattern. For me … Read more