I personally find that makes the life of a developer who has recently joined the project a very sad one. Without almost perfect understanding of the framework mechanisms it makes developing and debugging like a torture, since whenever I get an error or an unexpected behavior I have not a slightest idea where to look. In some rare cases Ctrl+F through the solution helps, but in most cases I either have to ask the senior guy or use try & error approach. In many cases there is no way to test whether it's working save and nice, testers and sadly customers have to check it.
I think that putting queries in stored procedures or at least in one place in code could help.
Is this dynamic approach to queries a standard practice in business applications? I'm personally quite discomfortable with it.