Re:Best Practices for Linq Enumerables and Queryables
by bunderbunder on Friday August 24, 2012 @02:10PM
(#4428828)
That reminds me of another one I ran into. It's not specifically LINQ related, but does play into the problem with returning generators. A homegrown data access layer that would grab a SqlDataReader and then yield each item.
That ended up creating all sorts of problems, up to and including a serious deadlocking issue at the database end of things.
That ended up creating all sorts of problems, up to and including a serious deadlocking issue at the database end of things.