TSqlParser Class

Represents the Transact-SQL parser.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.ScriptDom.Parser
    Microsoft.Data.Schema.ScriptDom.Sql.TSqlParser
      Microsoft.Data.Schema.ScriptDom.Sql.TSql100Parser
      Microsoft.Data.Schema.ScriptDom.Sql.TSql80Parser
      Microsoft.Data.Schema.ScriptDom.Sql.TSql90Parser

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public MustInherit Class TSqlParser _
    Inherits Parser
[SerializableAttribute]
public abstract class TSqlParser : Parser
[SerializableAttribute]
public ref class TSqlParser abstract : public Parser
[<AbstractClass>]
[<SerializableAttribute>]
type TSqlParser =  
    class
        inherit Parser
    end
public abstract class TSqlParser extends Parser

The TSqlParser type exposes the following members.

Properties

  Name Description
Public property QuotedIdentifier Gets whether quoted identifier handling is on.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetTokenStream(TextReader, IList<ParseError>) Returns a list of parser tokens by using the provided text reader and list of parser errors.
Public method GetTokenStream(TextReader, IList<ParseError>, Int32, Int32, Int32)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Parse(TextReader, IList<ParseError>%) Returns a script fragment and a list of errors by using the provided text reader. (Overrides Parser.Parse(TextReader, IList<ParseError>%).)
Public method Parse(IList<TSqlParserToken>, IList<ParseError>) When overridden in a derived class, returns a script fragment by using the provided tokens and errors.
Public method Parse(TextReader, IList<ParseError>%, Int32, Int32, Int32)
Public method ParseBooleanExpression(TextReader, IList<ParseError>%)
Public method ParseBooleanExpression(TextReader, IList<ParseError>%, Int32, Int32, Int32)
Public method ParseChildObjectName(TextReader, IList<ParseError>%)
Public method ParseChildObjectName(TextReader, IList<ParseError>%, Int32, Int32, Int32)
Public method ParseConstantOrIdentifier(TextReader, IList<ParseError>%)
Public method ParseConstantOrIdentifier(TextReader, IList<ParseError>%, Int32, Int32, Int32)
Public method ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>%)
Public method ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>%, Int32, Int32, Int32)
Public method ParseExpression(TextReader, IList<ParseError>%)
Public method ParseExpression(TextReader, IList<ParseError>%, Int32, Int32, Int32)
Public method ParseScalarDataType(TextReader, IList<ParseError>%)
Public method ParseScalarDataType(TextReader, IList<ParseError>%, Int32, Int32, Int32)
Public method ParseSchemaObjectName(TextReader, IList<ParseError>%)
Public method ParseSchemaObjectName(TextReader, IList<ParseError>%, Int32, Int32, Int32)
Public method ParseStatementList(TextReader, IList<ParseError>%)
Public method ParseStatementList(TextReader, IList<ParseError>%, Int32, Int32, Int32)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method ValidateIdentifier Returns whether a name is a valid SQL identifier.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Data.Schema.ScriptDom.Sql Namespace