Класс ColumnReferenceExpression

Represents a column. Because of the ambiguity of Sql syntax, we can not distiguish columns from properties without having the Table and type definitions; even then it could be ambiguous. So the column might have trailing properties in the Identifiers.

Иерархия наследования

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.ScalarExpression
      Microsoft.SqlServer.TransactSql.ScriptDom.PrimaryExpression
        Microsoft.SqlServer.TransactSql.ScriptDom.ColumnReferenceExpression

Пространство имен:  Microsoft.SqlServer.TransactSql.ScriptDom
Сборка:  Microsoft.SqlServer.TransactSql.ScriptDom (в Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Синтаксис

'Декларация
<SerializableAttribute> _
Public Class ColumnReferenceExpression _
    Inherits PrimaryExpression
'Применение
Dim instance As ColumnReferenceExpression
[SerializableAttribute]
public class ColumnReferenceExpression : PrimaryExpression
[SerializableAttribute]
public ref class ColumnReferenceExpression : public PrimaryExpression
[<SerializableAttribute>]
type ColumnReferenceExpression =  
    class 
        inherit PrimaryExpression 
    end
public class ColumnReferenceExpression extends PrimaryExpression

Тип ColumnReferenceExpression обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод ColumnReferenceExpression Initializes a new instance of the ColumnReferenceExpression class.

В начало

Свойства

  Имя Описание
Открытое свойство Collation Gets or sets the collation identifier. (Производный от PrimaryExpression.)
Открытое свойство ColumnType Gets or sets the type of the column.
Открытое свойство FirstTokenIndex Gets or sets the first token index. (Производный от TSqlFragment.)
Открытое свойство FragmentLength Gets the fragment length. (Производный от TSqlFragment.)
Открытое свойство LastTokenIndex Gets or sets the last token index. (Производный от TSqlFragment.)
Открытое свойство MultiPartIdentifier Gets or sets the multi-part name of the column.
Открытое свойство ScriptTokenStream Gets or sets a list of token streams. (Производный от TSqlFragment.)
Открытое свойство StartColumn Gets the starting column. (Производный от TSqlFragment.)
Открытое свойство StartLine Gets the starting line. (Производный от TSqlFragment.)
Открытое свойство StartOffset Gets the fragment start offset value. (Производный от TSqlFragment.)

В начало

Методы

  Имя Описание
Открытый метод Accept Indicates the entry point for a given visitor. (Переопределяет TSqlFragment.Accept(TSqlFragmentVisitor).)
Открытый метод AcceptChildren Calls Accept on the children with the given visitor. (Переопределяет PrimaryExpression.AcceptChildren(TSqlFragmentVisitor).)
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Object.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.TransactSql.ScriptDom