SQLProvider

QueryEvents Module

Contains events for monitoring SQL query execution and debugging. Use these events to log, debug, or analyze the SQL queries generated by the type provider.

Types

Type Description

SqlEventData

Contains information about a SQL command being executed, including the command text, parameters, and connection information for debugging and monitoring purposes.

Functions and values

Function or value Description

LinqExpressionEvent

Full Usage: LinqExpressionEvent

Returns: IEvent<Expression>
Returns: IEvent<Expression>

PublishSqlQueryCol connStr qry spc

Full Usage: PublishSqlQueryCol connStr qry spc

Parameters:
connStr : string
qry : string
spc : DbParameterCollection

PublishSqlQueryICol connStr qry spc

Full Usage: PublishSqlQueryICol connStr qry spc

Parameters:
connStr : string
qry : string
spc : IDataParameterCollection

SqlQueryEvent

Full Usage: SqlQueryEvent

Returns: IEvent<SqlEventData>

Event that fires immediately before the execution of every generated query. Listen to this event to display or debug the content of your queries. This is useful for logging, performance monitoring, and debugging SQL generation.

Returns: IEvent<SqlEventData>

Type something to start searching.