DataProviderLogQueryStatement Method

Logs the query statement into Data.DataRetrieval.QueryAudit channel at the Information level.

Namespace:  Dundas.BI.Data.DataProviders
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
public void LogQueryStatement(
	Func<string> getQueryStatement
)

Parameters

getQueryStatement
Type: SystemFuncString
The delegate that returns the query statement to be logged.
Remarks
The data provider need to call this method when the query is ready for execution and provide a delegate that returns the query text and parameter values in human readable format.
See Also