SqlToken MethodsA Sandcastle Documented Class Library
The SqlToken type exposes the following members.
Methods

  NameDescription
Private methodApplyEscapeBrackets
Wraps the input string with escape brackets. Attempts to maintain existing padding on the input string.
Private methodApplyPadding
Applies padding to any input string using the paddingLeft and paddingRight members to determine what padding to add to the input string.
Public methodBuildSql
Renders this token to SQL internally setting the sql member.
Private methodClauseToString
Converts an SqlClause object to a string. Applies padding.
Public methodClone
Simple cloning method utilizing the serialization methods.
Private methodCompPrefixToString
Converts an SqlCompPrefix object to a string.
Private methodCompSuffixToString
Converts an SqlCompSuffix object to a string.
Private methodConnectorToString
Converts an SqlOperatorBool to a string. Applies padding.
Public methodStatic memberCreateFromSerial
Creates a new SqlToken object from a serialized string.
Public methodDataTypeToString
Converts a data type to a string.
Private methodEscapeString
Escapes single quotes from strings for DB safety.
Public methodFromSerial
Populates this object from a serialized SqlToken string.
Public methodGetCommaChar
Returns the comma character used in column lists.
Public methodGetCompPrefix
Returns the comparison prefix operator.
Public methodGetCompPrefixAsString
Returns the comparison prefix operator as a string.
Public methodGetCompSuffix
Returns the comparison suffix operator.
Public methodGetCompSuffixAsString
Returns the comparison suffix operator as a string.
Public methodGetConnector
Returns the connector operator.
Public methodGetConnectorAsString
Returns the connector as a string.
Public methodGetDataType
Returns the sql data type.
Public methodGetDataTypeAsString
Returns the data type for this SqlToken as a string.
Public methodGetEscapeCharLeft
Returns the left hand side escape character.
Public methodGetEscapeCharRight
Returns the right hand side escape character.
Public methodGetGroupCharLeft
Returns the left hand grouping character.
Public methodGetGroupCharRight
Returns the right hand grouping characters.
Public methodGetGroupIndex
Returns the group index this SqlToken belongs to.
Public methodGetIndex
Returns the index of this token in a collection of tokens that make up an SqlQuery.
Public methodGetName
Returns the name of this SqlToken.
Public methodGetPaddingLeft
Indicates if left padding is on.
Public methodGetPaddingRight
Indicates if right padding is on.
Public methodGetQuoteChar
Returns the quote character used in char comparisons.
Public methodGetSerial
Returns the generated serialized string.
Public methodGetSerialLength
Returns the length of the generated serial string.
Public methodGetSql
Returns the SQL representation of this SqlToken.
Public methodGetSqlClause
Returns the clause for the given SqlToken.
Public methodGetSqlClauseAsString
Returns the clause as a string for the given SqlToken. Applies padding.
Public methodGetSqlLength
Returns the length of the generated sql string.
Public methodGetTableName
Get the stored table name.
Public methodGetTokenType
Returns the SqlTokenType.
Public methodGetTypeAsString
Returns the SqlTokeType as a string.
Public methodGetValue
Gets the value, the base value the sql member is built from.
Public methodGetWildCardChar
Returns the wild card cahracter used in LIKE comparisons.
Private methodJoinToString
Converts an SqlJoin object to a string. Applies padding.
Public methodSetCommaChar
Sets the comma character used in column lists.
Public methodSetCompPrefix
Sets the comparison prefix operator.
Public methodSetCompSuffix
Sets the comparison suffix operator.
Public methodSetConnector
Sets the connector operator.
Public methodSetDataType
Sets the sql data type.
Public methodSetEscapeBrackets
Sets the bracket left/right boolean.
Public methodSetEscapeChars
Sets the escape characters used to wrap table and column names.
Public methodSetGroupChars
Sets the characters used to mark a group in the where clause.
Public methodSetGroupIndex
Sets the group index this SqlToken belongs to.
Public methodSetIndex
Sets the index of the current token. Used to represent the position of this SqlToken in a collection of tokens.
Public methodSetName
Sets the name of the current SqlToken.
Public methodSetPadding
Sets the padding configuration for this object.
Public methodSetQuoteChar
Sets the quote character used in string comparisons.
Public methodSetSqlClause
Sets the SQL clause this SqlToken is associated with.
Public methodSetTableName
Sets the current table name, used in column references.
Public methodSetType
Sets the SqlTokenType.
Public methodSetValue
Set the base value the sql member is built from.
Public methodSetWildCardChar
Sets the wild card characters used in LIKE comparisons.
Private methodTokenTypeToString
Returns a token type object as a string.
Public methodToSerial
Converts this object to a serialized string.
Public methodToString
Returns a string representation of the contents of this object.
(Overrides Object ToString .)
Back to Top
See Also