DotNetPeter wrote:
Hi Matt, I find it odd that one can't see why this could be helpful. I mean, really? You can't understand why having something autogenerate (and be able to regenerate based on your schema) and map your data elements for you not being useful along with sometimes being able to retrieve a datatable with complex joins? I can write a query in minutes, learning everything about this product is something i don't have time for now. Sometimes when i post on these forums i wonder if anyone actually has deadlines with what they work on.
Trust me, I know what deadlines are
Thanks, still searching for a built in way to get a datatable back using LLBLGen.
The main issue with string based queries is that it really doesn't make sense to use an abstraction layer above the database (like the O/R mapper layer llblgen pro provides) for it, as a plain string is tied to the db targeted so you can just use plain ADO.NET with dataadapters, commands and datatables. After all it's not going to be shorter in code and it's better to use the abstraction layer to begin with, as it allows you to have compile time checked queries (e.g. when an entity gets removed, renamed etc.) among other things. Ofcourse, as a last resort, it can be a time saver to use the string-approach but it never should be used as a way to meet deadlines, as that string will be there forever.