TdsColumn Class

Describes a result-set column.

public sealed class TdsColumn

Constructors

NameDescription
TdsColumn(string, TdsColumnType, bool)Initializes a new instance of the TdsColumn class.

TdsColumn(string, TdsColumnType, bool)

TdsColumn.cs

Initializes a new instance of the TdsColumn class.

public TdsColumn(string name, TdsColumnType columnType, bool isNullable = true)

Parameters

name string
columnType TdsColumnType
isNullable bool

Properties

NameDescription
ColumnTypeGets the column type.
IsNullableGets a value indicating whether the column can be null.
NameGets the column name.

ColumnType

TdsColumn.cs

Gets the column type.

public TdsColumnType ColumnType { get; }

Property value

TdsColumnType

IsNullable

TdsColumn.cs

Gets a value indicating whether the column can be null.

public bool IsNullable { get; }

Property value

bool

Gets the column name.

public string Name { get; }

Property value

string