Classe SelectScalarExpression
Represents the column element that is used right after the select keyword.
Hierarquia de herança
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.SelectElement
Microsoft.SqlServer.TransactSql.ScriptDom.SelectScalarExpression
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (em Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Sintaxe
'Declaração
<SerializableAttribute> _
Public Class SelectScalarExpression _
Inherits SelectElement
'Uso
Dim instance As SelectScalarExpression
[SerializableAttribute]
public class SelectScalarExpression : SelectElement
[SerializableAttribute]
public ref class SelectScalarExpression : public SelectElement
[<SerializableAttribute>]
type SelectScalarExpression =
class
inherit SelectElement
end
public class SelectScalarExpression extends SelectElement
O tipo SelectScalarExpression expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
SelectScalarExpression | Initializes a new instance of the SelectScalarExpression class. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
ColumnName | Gets or sets an Identifier or a literal of type AsciiStringLiteral or UnicodeStringLiteral. Optional, may be nulluma referência nula (Nothing no Visual Basic). | |
Expression | Gets or sets a select expression that can be any expression, if this is non-null then this select expression is a regular expression. At present this AST class expresses either an expression or a wildcard. Because a SelectExpressions can do so much more, we may want to go to a derivation approach, where this class would be a base -- or there may be another more elegant approach. For now, this is a basic design to support SELECT * FROM foo. | |
FirstTokenIndex | Gets or sets the first token index. (Herdado de TSqlFragment.) | |
FragmentLength | Gets the fragment length. (Herdado de TSqlFragment.) | |
LastTokenIndex | Gets or sets the last token index. (Herdado de TSqlFragment.) | |
ScriptTokenStream | Gets or sets a list of token streams. (Herdado de TSqlFragment.) | |
StartColumn | Gets the starting column. (Herdado de TSqlFragment.) | |
StartLine | Gets the starting line. (Herdado de TSqlFragment.) | |
StartOffset | Gets the fragment start offset value. (Herdado de TSqlFragment.) |
Início
Métodos
Nome | Descrição | |
---|---|---|
Accept | Accepts visitor. (Substitui TSqlFragment.Accept(TSqlFragmentVisitor).) | |
AcceptChildren | Accepts visitor for Children. (Substitui SelectElement.AcceptChildren(TSqlFragmentVisitor).) | |
Equals | (Herdado de Object.) | |
Finalize | (Herdado de Object.) | |
GetHashCode | (Herdado de Object.) | |
GetType | (Herdado de Object.) | |
MemberwiseClone | (Herdado de Object.) | |
ToString | (Herdado de Object.) |
Início
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.