My experience has been that transactional code is usually best written with an ORM, and complex reporting code winds up better with SQL.