C# Class Rock.DebugHelper

Helper class that will output EF SQL calls to the Debug Output Window
Mostra file Open project: NewSpring/Rock

Public Properties

Property Type Description
_callCounts int

Public Methods

Method Description
SQLLoggingStart ( RockContext rockContext = null ) : void

Starts logging all EF SQL Calls to the Debug Output Window as T-SQL Blocks

SQLLoggingStop ( ) : void

Stops logging all EF SQL Calls to the Debug Output Window

Method Details

SQLLoggingStart() public static method

Starts logging all EF SQL Calls to the Debug Output Window as T-SQL Blocks
public static SQLLoggingStart ( RockContext rockContext = null ) : void
rockContext RockContext The rock context to limit the output to. Leave blank to show output for all rockContexts.
return void

SQLLoggingStop() public static method

Stops logging all EF SQL Calls to the Debug Output Window
public static SQLLoggingStop ( ) : void
return void

Property Details

_callCounts public_oe static_oe property

The _call counts
public static int _callCounts
return int