Thanks for this :) A slightly tangential question: at what point does using ORM become painful? When would you recommend going back to sprocs?
In C#, I think ORM classes have a lot going on, so I prefer to use them only for converting to a data structure.