C# 클래스 PoorMansTSqlFormatterLib.Formatters.TSqlStandardFormatter

상속: Interfaces.ISqlTreeFormatter
파일 보기 프로젝트 열기: rudi-bruchez/SQLTrismegiste 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
KeywordMapping string>.IDictionary

Private Properties

프로퍼티 타입 설명
ExtractXmlBetween System.Xml.XmlNode
FirstSemanticElementChild System.Xml.XmlElement
FormatKeyword string
FormatOperator string
ProcessSqlNode void
ProcessSqlNodeList void
TSqlStandardFormatter System
WhiteSpace_BreakAsExpected void
WhiteSpace_SeparateComment void
WhiteSpace_SeparateStatements void
WhiteSpace_SeparateWords void

공개 메소드들

메소드 설명
FormatSQLTree ( XmlDocument sqlTreeDoc ) : string
TSqlStandardFormatter ( ) : System
TSqlStandardFormatter ( TSqlStandardFormatterOptions options ) : System

비공개 메소드들

메소드 설명
ExtractXmlBetween ( XmlNode startingElement, XmlNode endingElement ) : XmlNode
FirstSemanticElementChild ( XmlElement contentElement ) : XmlElement
FormatKeyword ( string keyword ) : string
FormatOperator ( string operatorValue ) : string
ProcessSqlNode ( XmlElement contentElement, TSqlStandardFormattingState state ) : void
ProcessSqlNodeList ( XmlNodeList rootList, TSqlStandardFormattingState state ) : void
TSqlStandardFormatter ( string indentString, int spacesPerTab, int maxLineWidth, bool expandCommaLists, bool trailingCommas, bool spaceAfterExpandedComma, bool expandBooleanExpressions, bool expandCaseStatements, bool expandBetweenConditions, bool breakJoinOnSections, bool uppercaseKeywords, bool htmlColoring, bool keywordStandardization ) : System
WhiteSpace_BreakAsExpected ( TSqlStandardFormattingState state ) : void
WhiteSpace_SeparateComment ( XmlElement contentElement, TSqlStandardFormattingState state ) : void
WhiteSpace_SeparateStatements ( XmlElement contentElement, TSqlStandardFormattingState state ) : void
WhiteSpace_SeparateWords ( TSqlStandardFormattingState state ) : void

메소드 상세

FormatSQLTree() 공개 메소드

public FormatSQLTree ( XmlDocument sqlTreeDoc ) : string
sqlTreeDoc System.Xml.XmlDocument
리턴 string

TSqlStandardFormatter() 공개 메소드

public TSqlStandardFormatter ( ) : System
리턴 System

TSqlStandardFormatter() 공개 메소드

public TSqlStandardFormatter ( TSqlStandardFormatterOptions options ) : System
options TSqlStandardFormatterOptions
리턴 System

프로퍼티 상세

KeywordMapping 공개적으로 프로퍼티

public IDictionary KeywordMapping
리턴 string>.IDictionary