0
ответов

IQueryable Repository with StructureMap (IoC) - How do i Implement IDisposable?

If i have the following Repository: public IQueryable Users() {var db = new SqlDataContext (); return db.Users; } I understand that the connection is opened only when the query is ...
вопрос задан: 16 September 2010 01:31