Adding Tags to Linq Statements to Correlate with Generated Sql

Posts   
 
    
GraemeMuir
User
Posts: 6
Joined: 05-Mar-2021
# Posted on: 08-May-2021 03:28:47   

In EFCore 2.2+ you have the ability to add tags to your linq queries which then adds a comment in the generated sql which you can then use for searching/troubleshooting on sql server. https://docs.microsoft.com/en-us/ef/core/querying/tags

Is there an equivalent capability in LLBLGen?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39761
Joined: 17-Aug-2003
# Posted on: 08-May-2021 10:14:01   

You mean in the LLBLGen Pro runtime? Yes. QuerySpec | Linq

Frans Bouma | Lead developer LLBLGen Pro