Why s High-level APIs recommended

Posts   
 
    
morten71
User
Posts: 80
Joined: 13-Jan-2009
# Posted on: 19-Aug-2019 18:55:55   

On http://www.llblgen.com/Documentation/5.5/LLBLGen%20Pro%20RTF/Using%20the%20generated%20code/SelfServicing/gencode_usingcollectionclasses.htm

Entity retrieval into an entity collection object > Using a query High-level APIs and Low-level API are listed.

Why is the High-level APIs recommended?

Best regards Morten

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 20-Aug-2019 00:26:07   

The goal for the QuerySpec API is to make it easier to use our native Query API by using a fluent interface which mimics the SQL query to produce. This is close to the native query api which embodies the SQL query fragments at a lower level.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 20-Aug-2019 09:32:02   

Plus query spec / linq get features that aren't necessarily added to the low-level API, like resultset caching.

Frans Bouma | Lead developer LLBLGen Pro
morten71
User
Posts: 80
Joined: 13-Jan-2009
# Posted on: 29-Aug-2019 08:41:34   

Thanks for your explanations