Property | Type | Description | |
---|---|---|---|
cmdRetriever | SqlCommand>.Func | ||
command |
Method | Description | |
---|---|---|
SqlCmdExecutionPlanAspect ( SqlCommand>.Func |
Aspect that log SQL Execution plan of a SqlCommand.
|
|
SqlCmdExecutionPlanAspect ( string formatXmlOrText ) : System |
Aspect that log SQL Execution plan of an intercepted SqlCommand.
|
|
Step_2_BeforeTryingMethodExec ( ) : void |
Method | Description | |
---|---|---|
ProcessExecutionPlan ( string executionPlan ) : void |
Do something with the execution plan. Default action is to log it.
|
Method | Description | |
---|---|---|
OnConnectionOpened ( ) : void | ||
OnConnectionStateChange ( object sender, |
protected ProcessExecutionPlan ( string executionPlan ) : void | ||
executionPlan | string | |
return | void |
public SqlCmdExecutionPlanAspect ( SqlCommand>.Func | ||
cmdFetcher | SqlCommand>.Func | Optional SqlCommand factory. If not specified, intercepted object should be SqlCommand. |
trueText_falseXml | bool | Specifies output format of the execution plan text: plain text or XML. |
return | System |
public SqlCmdExecutionPlanAspect ( string formatXmlOrText ) : System | ||
formatXmlOrText | string | /// string in the format of "format=text;" or "format=xml;". /// If not specified, XML format is used. /// |
return | System |
public Step_2_BeforeTryingMethodExec ( ) : void | ||
return | void |