title: C#/EF and the Repository Pattern: Where to put the ObjectContext in a solution with multiple repositories?
body: <p>I have multiple repositories in my application.  Where should I put the ObjectContext?  Right now, I have a reference like <code>ObjectContext ctx;</code> in every repository.  What is the smartest and safest way to go about this?</p>