Classe TSqlParser
In questo articolo
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à
QuotedIdentifier
Ottiene un valore che indica se la gestione dell'identificatore delimitato è attivata.
In alto
Metodi
Equals
Determina se l'oggetto Object specificato è uguale all'oggetto Object corrente. (Ereditato da Object )
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 )
GetHashCode
Funge da funzione hash per un determinato tipo. (Ereditato da Object )
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.
GetTokenStream(TextReader, IList<ParseError>, Int32, Int32, Int32)
GetType
Ottiene l'oggetto Type dell'istanza corrente. (Ereditato da Object )
MemberwiseClone
Consente di creare una copia dei riferimenti dell'oggetto Object corrente. (Ereditato da Object )
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>%) ).
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.
Parse(TextReader, IList<ParseError>%, Int32, Int32, Int32)
ParseBooleanExpression(TextReader, IList<ParseError>%)
ParseBooleanExpression(TextReader, IList<ParseError>%, Int32, Int32, Int32)
ParseChildObjectName(TextReader, IList<ParseError>%)
ParseChildObjectName(TextReader, IList<ParseError>%, Int32, Int32, Int32)
ParseConstantOrIdentifier(TextReader, IList<ParseError>%)
ParseConstantOrIdentifier(TextReader, IList<ParseError>%, Int32, Int32, Int32)
ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>%)
ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>%, Int32, Int32, Int32)
ParseExpression(TextReader, IList<ParseError>%)
ParseExpression(TextReader, IList<ParseError>%, Int32, Int32, Int32)
ParseScalarDataType(TextReader, IList<ParseError>%)
ParseScalarDataType(TextReader, IList<ParseError>%, Int32, Int32, Int32)
ParseSchemaObjectName(TextReader, IList<ParseError>%)
ParseSchemaObjectName(TextReader, IList<ParseError>%, Int32, Int32, Int32)
ParseStatementList(TextReader, IList<ParseError>%)
ParseStatementList(TextReader, IList<ParseError>%, Int32, Int32, Int32)
ToString
Restituisce una stringa che rappresenta l'oggetto corrente. (Ereditato da Object )
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