You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently using IQuery with CreateSQL().List() and one interceptor to be able to log any SQL statement in a MiniProfiler output.
I want to know if there is a way to set a name to this query like .Name("MyCustomName") and use it inside the interceptor.
An alternative could be to use the SetProperties or SetComment.
My goal is only to log any query having a specific name defined in a config file.
This discussion was converted from issue #3442 on November 17, 2023 18:19.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Dear,
I'm currently using IQuery with CreateSQL().List() and one interceptor to be able to log any SQL statement in a MiniProfiler output.
I want to know if there is a way to set a name to this query like .Name("MyCustomName") and use it inside the interceptor.
An alternative could be to use the SetProperties or SetComment.
My goal is only to log any query having a specific name defined in a config file.
Thanks for your help
Beta Was this translation helpful? Give feedback.
All reactions