Class DataColumn
Represents a column in a Table that gets data from an external data source.
Assembly: TOMWrapper.dll
Syntax
[TypeConverter(typeof(DynamicPropertyConverter))]
public sealed class DataColumn : Column, INotifyPropertyChanging, IComparable, IFolderObject, ITabularTableObject, ITomErrorMessageObject, IDescriptionObject, IFormattableObject, ILineageTagObject, IExtendedPropertyObject, ITabularPerspectiveObject, IHideableObject, ITranslatableObject, IAnnotationObject, ISynonymObject, IDaxObject, ITabularNamedObject, ITabularObject, INotifyPropertyChanged, INamedObject, IClonableObject
Properties
Parent
The parent Table of the current Data Column.
Declaration
public Table Parent { get; }
Property Value
SourceColumn
Name of the column from which data will be retrieved. The name must match a column returned during processing or refresh, where the partition source is a query (as the Query of a CalculatedPartitionSource).
Declaration
public string SourceColumn { get; set; }
Property Value
Methods
Clone(string, bool, Table)
Creates an exact copy of this DataColumn object.
Declaration
public DataColumn Clone(string newName = null, bool includeTranslations = true, Table newParent = null)
Parameters
Type |
Name |
Description |
string |
newName |
|
bool |
includeTranslations |
|
Table |
newParent |
|
Returns
CreateNew(Table, string)
Creates a new DataColumn and adds it to the parent Table.
Also creates the underlying metadataobject and adds it to the TOM tree.
Declaration
public static DataColumn CreateNew(Table parent, string name = null)
Parameters
Returns
Implements
Extension Methods