Custom SQL Query instead of generated one

Posts   
 
    
woro
User
Posts: 7
Joined: 20-May-2009
# Posted on: 29-May-2009 08:34:19   

Hey, I'd like to ask if there is a possibility in LLBLGen to provide own native SQL query instead of the one that was generated by LLBLGen itself.

I'm asking because I want to be prepared for sudden performance issues with SQL queries generated by LLBLGen. I'm working with SQL Compact Edition and query performance is one of key success factors.

MTrinder
User
Posts: 1461
Joined: 08-Oct-2008
# Posted on: 02-Jun-2009 21:48:28   

This is not supported at the moment. In general LLBLGen's queries are pretty efficient and we have very few problems with query execution speed, as long as developers use the normal, sensible principles that you would when querying any database - ensuring indexes are in place, filtering queries to only request needed rows etc.

Do you actually have any examples of this causing you a problem? As ever, beware premature optimization simple_smile

Matt