The ColumnInfo type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ColumnInfo(String, ColumnDataType) |
Constructor for a ColumnInfo object, this constructor doesn't support user data type
| |
ColumnInfo(String, String) |
Create a new ColumnInfo
for user defined type schema string must contain C# name of the type
do not use this method with CLR name of type (Type.FullName), call ColumnInfo(string name, Type type) instead
| |
ColumnInfo(String, Type) |
Create a new ColumnInfo, the type can be of any user defined type.
|
Methods
Name | Description | |
---|---|---|
AddDependency |
Remember that this output column depends on input column table.col
Calling this automatically clears Source
| |
Clone |
Clone this column info.
| |
Compatible |
Check the two Column Definition is compatible or not
| |
Equals |
Is this ColumnInfo equal to another ColumnInfo? Compare table + column name.
(Overrides ObjectEquals(Object).) | |
GetHashCode |
Report the hash of this ColumnInfo
(Overrides ObjectGetHashCode()()()().) | |
ToString |
Returns a string representation so that it displays in Visual Studio.
(Overrides ObjectToString()()()().) |
Properties
Name | Description | |
---|---|---|
CLRType |
The CLR type (i.e. "string", "int", "int?", "byte[]", etc)
| |
ColumnCLRType |
The CLR type of the column.
| |
Dependency |
What columns were this column derived from? Default is null, we don't know.
The key is the ColumnInfo. The value is always null.
| |
Name |
Column name
| |
Source |
If assigned, this columns is a pass-through column. Default is null (no pass-through)
Assigning a Source automatically overwrites the Dependency to be just the source.
| |
Type |
Type of the data
|