Right, I'm starting to get the picture. I've never worked with an ORM as my SQL is pretty solid. I have to put my hands up here and say I don't know, sorry.
That works; it's just maybe thousands of times slower than unit tests, and much more work to create and maintain.