Aspectacular.SqlCmdExecutionPlanAspect.SqlCmdExecutionPlanAspect C# (CSharp) Method

SqlCmdExecutionPlanAspect() public method

Aspect that log SQL Execution plan of a SqlCommand.
public SqlCmdExecutionPlanAspect ( SqlCommand>.Func cmdFetcher = null, bool trueText_falseXml = false ) : System
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(Func<object, SqlCommand> cmdFetcher = null, bool trueText_falseXml = false)
        {
            this.cmdRetriever = cmdFetcher ?? (obj => obj as SqlCommand);
            this.TrueText_FalseXml = trueText_falseXml;
        }

Same methods

SqlCmdExecutionPlanAspect::SqlCmdExecutionPlanAspect ( string formatXmlOrText ) : System