Class DataColumn
- Inheritance
-
DataColumn
- Implements
-
- Inherited Members
-
- Namespace
- TabularEditor.TOMWrapper
- Assembly
- TOMWrapper.dll
Represents a column in a Table that gets data from an external data source.
public sealed class DataColumn : Column, ICustomTypeDescriptor, INotifyPropertyChanging, IComparable, IFolderObject, ITabularTableObject, ITomErrorMessageObject, IDescriptionObject, IFormattableObject, ILineageTagObject, IExtendedPropertyObject, ITabularPerspectiveObject, IHideableObject, ITranslatableObject, IAnnotationObject, ISynonymObject, IDaxObject, ITabularNamedObject, ITabularObject, INotifyPropertyChanged, INamedObject, IClonableObject
- Extension Methods
-
Properties
Parent
The parent Table of the current Data Column.
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).
public string SourceColumn { get; set; }
Property Value
Methods
Clone(string, bool, Table)
Creates an exact copy of this DataColumn object.
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.
public static DataColumn CreateNew(Table parent, string name = null)
Parameters
Returns