In my experience with several ORMs, it’s not always easy to predict the SQL that gets generated, and sometimes it turns out to be inefficient. Better to just ask an SQL stored procedure to do the work, especially since it’s right there where the data are located.

Reply to this note

Please Login to reply.

Discussion

No replies yet.