Condividi tramite


Classe TSqlParser

Rappresenta il parser Transact-SQL.

Gerarchia di ereditarietà

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

Spazio dei nomi:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)

Sintassi

'Dichiarazione
<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

Il tipo TSqlParser espone i seguenti membri.

Proprietà

  Nome Descrizione
Proprietà pubblica QuotedIdentifier Ottiene un valore che indica se la gestione dell'identificatore delimitato è attivata.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Determina se l'oggetto Object specificato è uguale all'oggetto Object corrente. (Ereditato da Object)
Metodo protetto Finalize Consente a un oggetto di provare a liberare risorse ed eseguire altre operazioni di pulitura prima che l'oggetto stesso venga recuperato dalla procedura di Garbage Collection. (Ereditato da Object)
Metodo pubblico GetHashCode Funge da funzione hash per un determinato tipo. (Ereditato da Object)
Metodo pubblico GetTokenStream(TextReader, IList<ParseError>) Restituisce un elenco dei token del parser utilizzando il reader fornito con il testo e l'elenco degli errori del parser.
Metodo pubblico GetTokenStream(TextReader, IList<ParseError>, Int32, Int32, Int32)
Metodo pubblico GetType Ottiene l'oggetto Type dell'istanza corrente. (Ereditato da Object)
Metodo protetto MemberwiseClone Consente di creare una copia dei riferimenti dell'oggetto Object corrente. (Ereditato da Object)
Metodo pubblico Parse(TextReader, IList<ParseError>%) Restituisce un frammento di script e un elenco di errori utilizzando il reader fornito con il testo. (Esegue l'override di Parser.Parse(TextReader, IList<ParseError>%)).
Metodo pubblico Parse(IList<TSqlParserToken>, IList<ParseError>) Quando sottoposto a override in una classe derivata, restituisce un frammento di script mediante i token e gli errori indicati.
Metodo pubblico Parse(TextReader, IList<ParseError>%, Int32, Int32, Int32)
Metodo pubblico ParseBooleanExpression(TextReader, IList<ParseError>%)
Metodo pubblico ParseBooleanExpression(TextReader, IList<ParseError>%, Int32, Int32, Int32)
Metodo pubblico ParseChildObjectName(TextReader, IList<ParseError>%)
Metodo pubblico ParseChildObjectName(TextReader, IList<ParseError>%, Int32, Int32, Int32)
Metodo pubblico ParseConstantOrIdentifier(TextReader, IList<ParseError>%)
Metodo pubblico ParseConstantOrIdentifier(TextReader, IList<ParseError>%, Int32, Int32, Int32)
Metodo pubblico ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>%)
Metodo pubblico ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>%, Int32, Int32, Int32)
Metodo pubblico ParseExpression(TextReader, IList<ParseError>%)
Metodo pubblico ParseExpression(TextReader, IList<ParseError>%, Int32, Int32, Int32)
Metodo pubblico ParseScalarDataType(TextReader, IList<ParseError>%)
Metodo pubblico ParseScalarDataType(TextReader, IList<ParseError>%, Int32, Int32, Int32)
Metodo pubblico ParseSchemaObjectName(TextReader, IList<ParseError>%)
Metodo pubblico ParseSchemaObjectName(TextReader, IList<ParseError>%, Int32, Int32, Int32)
Metodo pubblico ParseStatementList(TextReader, IList<ParseError>%)
Metodo pubblico ParseStatementList(TextReader, IList<ParseError>%, Int32, Int32, Int32)
Metodo pubblico ToString Restituisce una stringa che rappresenta l'oggetto corrente. (Ereditato da Object)
Metodo pubblico ValidateIdentifier Restituisce un valore che indica se un nome è un identificatore SQL valido.

In alto

Codice thread safe

Qualsiasi membro static (Shared in Visual Basic) pubblico di questo tipo è thread-safe. I membri di istanza non sono garantiti come thread-safe.

Vedere anche

Riferimenti

Spazio dei nomi Microsoft.Data.Schema.ScriptDom.Sql