C# 클래스 Rock.DebugHelper

Helper class that will output EF SQL calls to the Debug Output Window
파일 보기 프로젝트 열기: NewSpring/Rock

공개 프로퍼티들

프로퍼티 타입 설명
_callCounts int

공개 메소드들

메소드 설명
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

메소드 상세

SQLLoggingStart() 공개 정적인 메소드

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.
리턴 void

SQLLoggingStop() 공개 정적인 메소드

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

프로퍼티 상세

_callCounts 공개적으로 정적으로 프로퍼티

The _call counts
public static int _callCounts
리턴 int