TabularEditor.TOMWrapper Reference
This is auto-generated documentation for the TOMWrapper API. Use CTRL+F or the sidebar on the right, to locate a specific class, property or method.
AddObjectType
public enum TabularEditor.TOMWrapper.AddObjectType
: Enum, IComparable, IFormattable, IConvertible
Enum
| Value | Name | Summary |
|---|---|---|
1 |
Measure | |
2 |
CalculatedColumn | |
3 |
Hierarchy |
CalculatedColumn
Base class declaration for CalculatedColumn
public class TabularEditor.TOMWrapper.CalculatedColumn
: Column, ITabularObject, INotifyPropertyChanged, INotifyPropertyChanging, ITabularNamedObject, IComparable, IDetailObject, ITabularTableObject, IHideableObject, IErrorMessageObject, IDescriptionObject, IAnnotationObject, ITabularPerspectiveObject, IDaxObject, IExpressionObject
Properties
| Type | Name | Summary |
|---|---|---|
Dictionary<IDaxObject, List<Dependency>> |
Dependencies | |
String |
Expression | Gets or sets the Expression of the CalculatedColumn. |
Boolean |
IsDataTypeInferred | Gets or sets the IsDataTypeInferred of the CalculatedColumn. |
CalculatedColumn |
MetadataObject | |
Boolean |
NeedsValidation |
Methods
| Type | Name | Summary |
|---|---|---|
TabularNamedObject |
Clone(String newName = null, Boolean includeTranslations = True) |
|
TabularNamedObject |
CloneTo(Table table, String newName = null, Boolean includeTranslations = True) |
|
void |
OnPropertyChanged(String propertyName, Object oldValue, Object newValue) |
CalculatedTable
public class TabularEditor.TOMWrapper.CalculatedTable
: Table, ITabularObject, INotifyPropertyChanged, INotifyPropertyChanging, ITabularNamedObject, IComparable, IHideableObject, IDescriptionObject, IAnnotationObject, ITabularObjectContainer, IDetailObjectContainer, ITabularPerspectiveObject, IDaxObject, IDynamicPropertyObject, IErrorMessageObject, IExpressionObject
Properties
| Type | Name | Summary |
|---|---|---|
Dictionary<IDaxObject, List<Dependency>> |
Dependencies | |
String |
Expression | |
Boolean |
NeedsValidation | |
String |
ObjectTypeName |
Methods
| Type | Name | Summary |
|---|---|---|
void |
CheckChildrenErrors() | |
Boolean |
Editable(String propertyName) |
|
void |
Init() | |
void |
OnPropertyChanged(String propertyName, Object oldValue, Object newValue) |
|
void |
ReinitColumns() | Call this method after the model is saved to a DB, to check for changed columns (in case of expression changes) |
CalculatedTableColumn
Base class declaration for CalculatedTableColumn
public class TabularEditor.TOMWrapper.CalculatedTableColumn
: Column, ITabularObject, INotifyPropertyChanged, INotifyPropertyChanging, ITabularNamedObject, IComparable, IDetailObject, ITabularTableObject, IHideableObject, IErrorMessageObject, IDescriptionObject, IAnnotationObject, ITabularPerspectiveObject, IDaxObject
Properties
| Type | Name | Summary |
|---|---|---|
Column |
ColumnOrigin | Gets or sets the ColumnOrigin of the CalculatedTableColumn. |
Boolean |
IsDataTypeInferred | Gets or sets the IsDataTypeInferred of the CalculatedTableColumn. |
Boolean |
IsNameInferred | Gets or sets the IsNameInferred of the CalculatedTableColumn. |
CalculatedTableColumn |
MetadataObject | |
String |
SourceColumn | Gets or sets the SourceColumn of the CalculatedTableColumn. |
Column
Base class declaration for Column
public abstract class TabularEditor.TOMWrapper.Column
: TabularNamedObject, ITabularObject, INotifyPropertyChanged, INotifyPropertyChanging, ITabularNamedObject, IComparable, IDetailObject, ITabularTableObject, IHideableObject, IErrorMessageObject, IDescriptionObject, IAnnotationObject, ITabularPerspectiveObject, IDaxObject
Properties
Methods
| Type | Name | Summary |
|---|---|---|
void |
Delete() | |
String |
GetAnnotation(String name) |
|
void |
Init() | |
void |
OnPropertyChanged(String propertyName, Object oldValue, Object newValue) |
|
void |
OnPropertyChanging(String propertyName, Object newValue, Boolean& undoable, Boolean& cancel) |
|
void |
SetAnnotation(String name, String value, Boolean undoable = True) |
|
void |
Undelete(ITabularObjectCollection collection) |
ColumnCollection
Collection class for Column. Provides convenient properties for setting a property on multiple objects at once.
public class TabularEditor.TOMWrapper.ColumnCollection
: TabularObjectCollection<Column, Column, Table>, IList, ICollection, IEnumerable, INotifyCollectionChanged, ICollection<Column>, IEnumerable<Column>, IList<Column>, ITabularObjectCollection, IExpandableIndexer
Properties
| Type | Name | Summary |
|---|---|---|
Alignment |
Alignment | |
String |
DataCategory | |
DataType |
DataType | |
String |
Description | |
String |
DisplayFolder | |
Int32 |
DisplayOrdinal | |
String |
FormatString | |
Boolean |
IsAvailableInMDX | |
Boolean |
IsDefaultImage | |
Boolean |
IsDefaultLabel | |
Boolean |
IsHidden | |
Boolean |
IsKey | |
Boolean |
IsNullable | |
Boolean |
IsUnique | |
Boolean |
KeepUniqueRows | |
Table |
Parent | |
Column |
SortByColumn | |
String |
SourceProviderType | |
AggregateFunction |
SummarizeBy | |
Int32 |
TableDetailPosition |
Methods
| Type | Name | Summary |
|---|---|---|
IEnumerator<Column> |
GetEnumerator() | |
String |
ToString() |
Culture
Base class declaration for Culture
public class TabularEditor.TOMWrapper.Culture
: TabularNamedObject, ITabularObject, INotifyPropertyChanged, INotifyPropertyChanging, ITabularNamedObject, IComparable, IAnnotationObject, IDynamicPropertyObject
Properties
| Type | Name | Summary |
|---|---|---|
String |
DisplayName | |
Culture |
MetadataObject | |
String |
Name | |
ObjectTranslationCollection |
ObjectTranslations | |
String |
StatsColumnCaptions | |
String |
StatsColumnDisplayFolders | |
String |
StatsHierarchyCaptions | |
String |
StatsHierarchyDisplayFolders | |
String |
StatsLevelCaptions | |
String |
StatsMeasureCaptions | |
String |
StatsMeasureDisplayFolders | |
String |
StatsTableCaptions | |
Boolean |
Unassigned |
Methods
| Type | Name | Summary |
|---|---|---|
Boolean |
Browsable(String propertyName) |
|
TabularNamedObject |
Clone(String newName, Boolean includeTranslations) |
|
Boolean |
Editable(String propertyName) |
|
String |
GetAnnotation(String name) |
|
void |
OnPropertyChanged(String propertyName, Object oldValue, Object newValue) |
|
void |
SetAnnotation(String name, String value, Boolean undoable = True) |
|
void |
Undelete(ITabularObjectCollection collection) |
CultureCollection
Collection class for Culture. Provides convenient properties for setting a property on multiple objects at once.
public class TabularEditor.TOMWrapper.CultureCollection
: TabularObjectCollection<Culture, Culture, Model>, IList, ICollection, IEnumerable, INotifyCollectionChanged, ICollection<Culture>, IEnumerable<Culture>, IList<Culture>, ITabularObjectCollection, IExpandableIndexer
Properties
| Type | Name | Summary |
|---|---|---|
Model |
Parent |
Methods
| Type | Name | Summary |
|---|---|---|
String |
ToString() |
CultureConverter
public class TabularEditor.TOMWrapper.CultureConverter
: TypeConverter
Methods
| Type | Name | Summary |
|---|---|---|
Boolean |
CanConvertFrom(ITypeDescriptorContext context, Type sourceType) |
|
Boolean |
CanConvertTo(ITypeDescriptorContext context, Type destinationType) |
|
Object |
ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) |
|
Object |
ConvertTo(ITypeDescriptorContext context, CultureInfo culture, Object value, Type destinationType) |
|
StandardValuesCollection |
GetStandardValues(ITypeDescriptorContext context) |
|
Boolean |
GetStandardValuesExclusive(ITypeDescriptorContext context) |
|
Boolean |
GetStandardValuesSupported(ITypeDescriptorContext context) |
Database
public class TabularEditor.TOMWrapper.Database
Properties
| Type | Name | Summary |
|---|---|---|
Nullable<Int32> |
CompatibilityLevel | |
Nullable<DateTime> |
CreatedTimestamp | |
String |
ID | |
Nullable<DateTime> |
LastProcessed | |
Nullable<DateTime> |
LastSchemaUpdate | |
Nullable<DateTime> |
LastUpdate | |
String |
Name | |
String |
ServerName | |
String |
ServerVersion | |
Database |
TOMDatabase | |
Nullable<Int64> |
Version |
Methods
| Type | Name | Summary |
|---|---|---|
String |
ToString() |
DataColumn
Base class declaration for DataColumn
public class TabularEditor.TOMWrapper.DataColumn
: Column, ITabularObject, INotifyPropertyChanged, INotifyPropertyChanging, ITabularNamedObject, IComparable, IDetailObject, ITabularTableObject, IHideableObject, IErrorMessageObject, IDescriptionObject, IAnnotationObject, ITabularPerspectiveObject, IDaxObject
Properties
| Type | Name | Summary |
|---|---|---|
DataColumn |
MetadataObject | |
String |
SourceColumn | Gets or sets the SourceColumn of the DataColumn. |
DataSource
Base class declaration for DataSource
public abstract class TabularEditor.TOMWrapper.DataSource
: TabularNamedObject, ITabularObject, INotifyPropertyChanged, INotifyPropertyChanging, ITabularNamedObject, IComparable, IDescriptionObject, IAnnotationObject
Properties
| Type | Name | Summary |
|---|---|---|
String |
Description | Gets or sets the Description of the DataSource. |
DataSource |
MetadataObject | |
TranslationIndexer |
TranslatedDescriptions | Collection of localized descriptions for this DataSource. |
DataSourceType |
Type | Gets or sets the Type of the DataSource. |
Methods
| Type | Name | Summary |
|---|---|---|
String |
GetAnnotation(String name) |
|
void |
SetAnnotation(String name, String value, Boolean undoable = True) |
DataSourceCollection
Collection class for DataSource. Provides convenient properties for setting a property on multiple objects at once.
public class TabularEditor.TOMWrapper.DataSourceCollection
: TabularObjectCollection<DataSource, DataSource, Model>, IList, ICollection, IEnumerable, INotifyCollectionChanged, ICollection<DataSource>, IEnumerable<DataSource>, IList<DataSource>, ITabularObjectCollection, IExpandableIndexer
Properties
| Type | Name | Summary |
|---|---|---|
String |
Description | |
Model |
Parent |
Methods
| Type | Name | Summary |
|---|---|---|
String |
ToString() |
Dependency
public struct TabularEditor.TOMWrapper.Dependency
Fields
| Type | Name | Summary |
|---|---|---|
Int32 |
from | |
Boolean |
fullyQualified | |
Int32 |
to |
DependencyHelper
public static class TabularEditor.TOMWrapper.DependencyHelper
Static Methods
| Type | Name | Summary |
|---|---|---|
void |
AddDep(this IExpressionObject target, IDaxObject dependsOn, Int32 fromChar, Int32 toChar, Boolean fullyQualified) |
|
String |
NoQ(this String objectName, Boolean table = False) |
Removes qualifiers such as ' ' and [ ] around a name. |
DeploymentMode
public enum TabularEditor.TOMWrapper.DeploymentMode
: Enum, IComparable, IFormattable, IConvertible
Enum
| Value | Name | Summary |
|---|---|---|
0 |
CreateDatabase | |
1 |
CreateOrAlter |
DeploymentOptions
public class TabularEditor.TOMWrapper.DeploymentOptions
Fields
| Type | Name | Summary |
|---|---|---|
Boolean |
DeployConnections | |
DeploymentMode |
DeployMode | |
Boolean |
DeployPartitions | |
Boolean |
DeployRoleMembers | |
Boolean |
DeployRoles |
Static Fields
| Type | Name | Summary |
|---|---|---|
DeploymentOptions |
Default | |
DeploymentOptions |
StructureOnly |
DeploymentResult
public class TabularEditor.TOMWrapper.DeploymentResult
Fields
| Type | Name | Summary |
|---|---|---|
IReadOnlyList<String> |
Issues | |
IReadOnlyList<String> |
Warnings |
DeploymentStatus
public enum TabularEditor.TOMWrapper.DeploymentStatus
: Enum, IComparable, IFormattable, IConvertible
Enum
| Value | Name | Summary |
|---|---|---|
0 |
ChangesSaved | |
1 |
DeployComplete | |
2 |
DeployCancelled |
Folder
Represents a Folder in the TreeView. Does not correspond to any object in the TOM. Implements IDisplayFolderObject since a Folder can itself be located within another display folder. Implements IParentObject since a Folder can contain child objects.
public class TabularEditor.TOMWrapper.Folder
: IDetailObject, ITabularTableObject, ITabularNamedObject, ITabularObject, INotifyPropertyChanged, ITabularObjectContainer, IDetailObjectContainer, IErrorMessageObject
Properties
| Type | Name | Summary |
|---|---|---|
IDetailObjectContainer |
Container | |
Culture |
Culture | |
String |
DisplayFolder | |
String |
ErrorMessage | |
String |
FullPath | |
TabularModelHandler |
Handler | |
Int32 |
MetadataIndex | |
Model |
Model | |
String |
Name | |
ObjectType |
ObjectType | |
Table |
ParentTable | |
String |
Path | |
Table |
Table | |
TranslationIndexer |
TranslatedDisplayFolders | |
TranslationIndexer |
TranslatedNames |
Events
| Type | Name | Summary |
|---|---|---|
PropertyChangedEventHandler |
PropertyChanged |
Methods
| Type | Name | Summary |
|---|---|---|
void |
CheckChildrenErrors() | |
void |
Delete() | Deleting a folder does not delete child objects - it just removes the folder. Any child folders are retained (but will be moved up the display folder hierarchy). |
IEnumerable<ITabularNamedObject> |
GetChildren() | |
IEnumerable<IDetailObject> |
GetChildrenByFolders(Boolean recursive = False) |
|
void |
SetFolderName(String newName) |
|
void |
UndoSetPath(String value) |
Static Methods
| Type | Name | Summary |
|---|---|---|
Folder |
CreateFolder(Table table, String path = , Boolean useFixedCulture = False, Culture fixedCulture = null) |
FolderHelper
public static class TabularEditor.TOMWrapper.FolderHelper
Static Methods
| Type | Name | Summary |
|---|---|---|
String |
ConcatPath(this String path, String additionalPath) |
|
String |
ConcatPath(this IEnumerable<String> pathBits) |
|
IDetailObjectContainer |
GetContainer(this IDetailObject obj) |
|
String |
GetDisplayFolder(this IDetailObject folderObject, Culture culture) |
|
String |
GetFullPath(ITabularNamedObject obj) |
|
Boolean |
HasAncestor(this IDetailObject child, ITabularNamedObject ancestor, Culture culture) |
|
Boolean |
HasParent(this IDetailObject child, ITabularNamedObject parent, Culture culture) |
|
Int32 |
Level(this String path) |
|
String |
PathFromFullPath(String path) |
|
void |
SetDisplayFolder(this IDetailObject folderObject, String newFolderName, Culture culture) |
|
String |
TrimFolder(this String folderPath) |
Hierarchy
Base class declaration for Hierarchy
public class TabularEditor.TOMWrapper.Hierarchy
: TabularNamedObject, ITabularObject, INotifyPropertyChanged, INotifyPropertyChanging, ITabularNamedObject, IComparable, IDetailObject, ITabularTableObject, IHideableObject, IDescriptionObject, IAnnotationObject, ITabularObjectContainer, ITabularPerspectiveObject
Properties
| Type | Name | Summary |
|---|---|---|
String |
Description | Gets or sets the Description of the Hierarchy. |
String |
DisplayFolder | Gets or sets the DisplayFolder of the Hierarchy. |
PerspectiveIndexer |
InPerspective | |
Boolean |
IsHidden | Gets or sets the IsHidden of the Hierarchy. |
LevelCollection |
Levels | |
Hierarchy |
MetadataObject | |
Boolean |
Reordering | Set to true, when multiple levels are going to be re-ordered as one action. |
ObjectState |
State | Gets or sets the State of the Hierarchy. |
Table |
Table | |
TranslationIndexer |
TranslatedDescriptions | Collection of localized descriptions for this Hierarchy. |
TranslationIndexer |
TranslatedDisplayFolders | Collection of localized Display Folders for this Hierarchy. |
Methods
| Type | Name | Summary |
|---|---|---|
Level |
AddLevel(Column column, String levelName = null, Int32 ordinal = -1) |
|
Level |
AddLevel(String columnName, String levelName = null, Int32 ordinal = -1) |
|
void |
AddLevels(IEnumerable<Column> columns, Int32 ordinal = -1) |
|
void |
CompactLevelOrdinals() | |
void |
Delete() | |
void |
FixLevelOrder(Level level, Int32 newOrdinal) |
|
String |
GetAnnotation(String name) |
|
IEnumerable<ITabularNamedObject> |
GetChildren() | |
void |
Init() | |
void |
SetAnnotation(String name, String value, Boolean undoable = True) |
|
void |
SetLevelOrder(IList<Level> order) |
|
void |
Undelete(ITabularObjectCollection collection) |
HierarchyCollection
Collection class for Hierarchy. Provides convenient properties for setting a property on multiple objects at once.
public class TabularEditor.TOMWrapper.HierarchyCollection
: TabularObjectCollection<Hierarchy, Hierarchy, Table>, IList, ICollection, IEnumerable, INotifyCollectionChanged, ICollection<Hierarchy>, IEnumerable<Hierarchy>, IList<Hierarchy>, ITabularObjectCollection, IExpandableIndexer
Properties
| Type | Name | Summary |
|---|---|---|
String |
Description | |
String |
DisplayFolder | |
Boolean |
IsHidden | |
Table |
Parent |
Methods
| Type | Name | Summary |
|---|---|---|
String |
ToString() |
HierarchyColumnConverter
public class TabularEditor.TOMWrapper.HierarchyColumnConverter
: TableColumnConverter
Methods
| Type | Name | Summary |
|---|---|---|
Boolean |
GetStandardValuesExclusive(ITypeDescriptorContext context) |
|
Boolean |
IsValid(ITypeDescriptorContext context, Object value) |
IAnnotationObject
public interface TabularEditor.TOMWrapper.IAnnotationObject
: ITabularObject, INotifyPropertyChanged
Methods
| Type | Name | Summary |
|---|---|---|
String |
GetAnnotation(String name) |
|
void |
SetAnnotation(String name, String value, Boolean undoable = True) |
IClonableObject
public interface TabularEditor.TOMWrapper.IClonableObject
Methods
| Type | Name | Summary |
|---|---|---|
TabularNamedObject |
Clone(String newName, Boolean includeTranslations) |
IDaxObject
public interface TabularEditor.TOMWrapper.IDaxObject
: ITabularNamedObject, ITabularObject, INotifyPropertyChanged
Properties
| Type | Name | Summary |
|---|---|---|
String |
DaxObjectFullName | |
String |
DaxObjectName | |
String |
DaxTableName | |
HashSet<IExpressionObject> |
Dependants |
IDescriptionObject
Objects that can have descriptions
public interface TabularEditor.TOMWrapper.IDescriptionObject
Properties
| Type | Name | Summary |
|---|---|---|
String |
Description | |
TranslationIndexer |
TranslatedDescriptions |
IDetailObject
Represents an object than can be contained in a Display Folder. Examples: - Measures - Columns - Hierarchies - Folders
public interface TabularEditor.TOMWrapper.IDetailObject
: ITabularTableObject, ITabularNamedObject, ITabularObject, INotifyPropertyChanged
Properties
| Type | Name | Summary |
|---|---|---|
String |
DisplayFolder | |
TranslationIndexer |
TranslatedDisplayFolders |
IDetailObjectContainer
Represents an objects that can contain other objects as well as display folders. Examples: - Folders - Table
public interface TabularEditor.TOMWrapper.IDetailObjectContainer
: ITabularNamedObject, ITabularObject, INotifyPropertyChanged
Properties
| Type | Name | Summary |
|---|---|---|
Table |
ParentTable |
Methods
| Type | Name | Summary |
|---|---|---|
IEnumerable<IDetailObject> |
GetChildrenByFolders(Boolean recursive = False) |
IErrorMessageObject
Objects that can have error messages
public interface TabularEditor.TOMWrapper.IErrorMessageObject
Properties
| Type | Name | Summary |
|---|---|---|
String |
ErrorMessage |
IExpressionObject
public interface TabularEditor.TOMWrapper.IExpressionObject
: IDaxObject, ITabularNamedObject, ITabularObject, INotifyPropertyChanged
Properties
| Type | Name | Summary |
|---|---|---|
Dictionary<IDaxObject, List<Dependency>> |
Dependencies | |
String |
Expression | |
Boolean |
NeedsValidation |
IHideableObject
Objects that can be shown/hidden
public interface TabularEditor.TOMWrapper.IHideableObject
Properties
| Type | Name | Summary |
|---|---|---|
Boolean |
IsHidden |
IntelliSenseAttribute
public class TabularEditor.TOMWrapper.IntelliSenseAttribute
: Attribute, _Attribute
Properties
| Type | Name | Summary |
|---|---|---|
String |
Description |
ITabularNamedObject
public interface TabularEditor.TOMWrapper.ITabularNamedObject
: ITabularObject, INotifyPropertyChanged
Properties
| Type | Name | Summary |
|---|---|---|
Int32 |
MetadataIndex | |
String |
Name | |
TranslationIndexer |
TranslatedNames |
ITabularObject
public interface TabularEditor.TOMWrapper.ITabularObject
: INotifyPropertyChanged
Properties
| Type | Name | Summary |
|---|---|---|
Model |
Model | |
ObjectType |
ObjectType |
ITabularObjectCollection
public interface TabularEditor.TOMWrapper.ITabularObjectCollection
: IEnumerable
Properties
| Type | Name | Summary |
|---|---|---|
String |
CollectionName | |
TabularModelHandler |
Handler | |
IEnumerable<String> |
Keys |
Methods
| Type | Name | Summary |
|---|---|---|
void |
Add(TabularNamedObject obj) |
|
void |
Clear() | |
Boolean |
Contains(Object value) |
|
Boolean |
Contains(String key) |
|
ITabularObjectCollection |
GetCurrentCollection() | |
Int32 |
IndexOf(TabularNamedObject obj) |
|
void |
Remove(TabularNamedObject obj) |
ITabularObjectContainer
TabularObjects that can contain other objects should use this interface.
public interface TabularEditor.TOMWrapper.ITabularObjectContainer
Methods
| Type | Name | Summary |
|---|---|---|
IEnumerable<ITabularNamedObject> |
GetChildren() |
ITabularPerspectiveObject
Objects that can be shown/hidden in individual perspectives
public interface TabularEditor.TOMWrapper.ITabularPerspectiveObject
: IHideableObject
Properties
| Type | Name | Summary |
|---|---|---|
PerspectiveIndexer |
InPerspective |
ITabularTableObject
Object that belongs to a specific table.
public interface TabularEditor.TOMWrapper.ITabularTableObject
: ITabularNamedObject, ITabularObject, INotifyPropertyChanged
Properties
| Type | Name | Summary |
|---|---|---|
Table |
Table |
Methods
| Type | Name | Summary |
|---|---|---|
void |
Delete() |
KPI
Base class declaration for KPI
public class TabularEditor.TOMWrapper.KPI
: TabularObject, ITabularObject, INotifyPropertyChanged, INotifyPropertyChanging, IDescriptionObject, IAnnotationObject, IDynamicPropertyObject
Properties
| Type | Name | Summary |
|---|---|---|
String |
Description | Gets or sets the Description of the KPI. |
Measure |
Measure | Gets or sets the Measure of the KPI. |
KPI |
MetadataObject | |
String |
StatusDescription | Gets or sets the StatusDescription of the KPI. |
String |
StatusExpression | Gets or sets the StatusExpression of the KPI. |
String |
StatusGraphic | Gets or sets the StatusGraphic of the KPI. |
String |
TargetDescription | Gets or sets the TargetDescription of the KPI. |
String |
TargetExpression | Gets or sets the TargetExpression of the KPI. |
String |
TargetFormatString | Gets or sets the TargetFormatString of the KPI. |
TranslationIndexer |
TranslatedDescriptions | Collection of localized descriptions for this KPI. |
String |
TrendDescription | Gets or sets the TrendDescription of the KPI. |
String |
TrendExpression | Gets or sets the TrendExpression of the KPI. |
String |
TrendGraphic | Gets or sets the TrendGraphic of the KPI. |
Methods
| Type | Name | Summary |
|---|---|---|
Boolean |
Browsable(String propertyName) |
|
Boolean |
Editable(String propertyName) |
|
String |
GetAnnotation(String name) |
|
void |
SetAnnotation(String name, String value, Boolean undoable = True) |
Level
Base class declaration for Level
public class TabularEditor.TOMWrapper.Level
: TabularNamedObject, ITabularObject, INotifyPropertyChanged, INotifyPropertyChanging, ITabularNamedObject, IComparable, IDescriptionObject, IAnnotationObject, ITabularTableObject
Properties
| Type | Name | Summary |
|---|---|---|
Column |
Column | Gets or sets the Column of the Level. |
String |
Description | Gets or sets the Description of the Level. |
Hierarchy |
Hierarchy | Gets or sets the Hierarchy of the Level. |
Level |
MetadataObject | |
Int32 |
Ordinal | Gets or sets the Ordinal of the Level. |
Table |
Table | |
TranslationIndexer |
TranslatedDescriptions | Collection of localized descriptions for this Level. |
Methods
| Type | Name | Summary |
|---|---|---|
void |
Delete() | Deletes the level from the hierarchy. |
String |
GetAnnotation(String name) |
|
void |
OnPropertyChanged(String propertyName, Object oldValue, Object newValue) |
|
void |
OnPropertyChanging(String propertyName, Object newValue, Boolean& undoable, Boolean& cancel) |
|
void |
SetAnnotation(String name, String value, Boolean undoable = True) |
|
void |
Undelete(ITabularObjectCollection collection) |
LevelCollection
Collection class for Level. Provides convenient properties for setting a property on multiple objects at once.
public class TabularEditor.TOMWrapper.LevelCollection
: TabularObjectCollection<Level, Level, Hierarchy>, IList, ICollection, IEnumerable, INotifyCollectionChanged, ICollection<Level>, IEnumerable<Level>, IList<Level>, ITabularObjectCollection, IExpandableIndexer
Properties
| Type | Name | Summary |
|---|---|---|
String |
Description | |
Hierarchy |
Parent |
Methods
| Type | Name | Summary |
|---|---|---|
void |
Add(Level item) |
|
Boolean |
Remove(Level item) |
|
String |
ToString() |
LogicalGroup
public class TabularEditor.TOMWrapper.LogicalGroup
: ITabularNamedObject, ITabularObject, INotifyPropertyChanged, ITabularObjectContainer
Properties
| Type | Name | Summary |
|---|---|---|
Int32 |
MetadataIndex | |
Model |
Model | |
String |
Name | |
ObjectType |
ObjectType | |
TranslationIndexer |
TranslatedNames |
Events
| Type | Name | Summary |
|---|---|---|
PropertyChangedEventHandler |
PropertyChanged |
Methods
| Type | Name | Summary |
|---|---|---|
IEnumerable<ITabularNamedObject> |
GetChildren() |
LogicalTreeOptions
public enum TabularEditor.TOMWrapper.LogicalTreeOptions
: Enum, IComparable, IFormattable, IConvertible
Enum
| Value | Name | Summary |
|---|---|---|
1 |
DisplayFolders | |
2 |
Columns | |
4 |
Measures | |
8 |
KPIs | |
16 |
Hierarchies | |
32 |
Levels | |
64 |
ShowHidden | |
128 |
AllObjectTypes | |
256 |
ShowRoot | |
447 |
Default |
Measure
Base class declaration for Measure
public class TabularEditor.TOMWrapper.Measure
: TabularNamedObject, ITabularObject, INotifyPropertyChanged, INotifyPropertyChanging, ITabularNamedObject, IComparable, IDetailObject, ITabularTableObject, IHideableObject, IErrorMessageObject, IDescriptionObject, IExpressionObject, IDaxObject, IAnnotationObject, ITabularPerspectiveObject, IDynamicPropertyObject, IClonableObject
Properties
| Type | Name | Summary |
|---|---|---|
DataType |
DataType | Gets or sets the DataType of the Measure. |
String |
DaxObjectFullName | |
String |
DaxObjectName | |
String |
DaxTableName | |
HashSet<IExpressionObject> |
Dependants | |
Dictionary<IDaxObject, List<Dependency>> |
Dependencies | |
String |
Description | Gets or sets the Description of the Measure. |
String |
DisplayFolder | Gets or sets the DisplayFolder of the Measure. |
String |
ErrorMessage | Gets or sets the ErrorMessage of the Measure. |
String |
Expression | Gets or sets the Expression of the Measure. |
String |
FormatString | Gets or sets the FormatString of the Measure. |
PerspectiveIndexer |
InPerspective | |
Boolean |
IsHidden | Gets or sets the IsHidden of the Measure. |
Boolean |
IsSimpleMeasure | Gets or sets the IsSimpleMeasure of the Measure. |
KPI |
KPI | Gets or sets the KPI of the Measure. |
Measure |
MetadataObject | |
Boolean |
NeedsValidation | |
ObjectState |
State | Gets or sets the State of the Measure. |
Table |
Table | |
TranslationIndexer |
TranslatedDescriptions | Collection of localized descriptions for this Measure. |
TranslationIndexer |
TranslatedDisplayFolders | Collection of localized Display Folders for this Measure. |
Methods
| Type | Name | Summary |
|---|---|---|
Boolean |
Browsable(String propertyName) |
|
TabularNamedObject |
Clone(String newName = null, Boolean includeTranslations = True) |
|
TabularNamedObject |
CloneTo(Table table, String newName = null, Boolean includeTranslations = True) |
|
void |
Delete() | |
Boolean |
Editable(String propertyName) |
|
String |
GetAnnotation(String name) |
|
void |
Init() | |
void |
OnPropertyChanged(String propertyName, Object oldValue, Object newValue) |
|
void |
OnPropertyChanging(String propertyName, Object newValue, Boolean& undoable, Boolean& cancel) |
|
void |
SetAnnotation(String name, String value, Boolean undoable = True) |
|
void |
Undelete(ITabularObjectCollection collection) |
MeasureCollection
Collection class for Measure. Provides convenient properties for setting a property on multiple objects at once.
public class TabularEditor.TOMWrapper.MeasureCollection
: TabularObjectCollection<Measure, Measure, Table>, IList, ICollection, IEnumerable, INotifyCollectionChanged, ICollection<Measure>, IEnumerable<Measure>, IList<Measure>, ITabularObjectCollection, IExpandableIndexer
Properties
| Type | Name | Summary |
|---|---|---|
String |
Description | |
String |
DisplayFolder | |
String |
Expression | |
String |
FormatString | |
Boolean |
IsHidden | |
Boolean |
IsSimpleMeasure | |
KPI |
KPI | |
Table |
Parent |
Methods
| Type | Name | Summary |
|---|---|---|
String |
ToString() |
Model
Base class declaration for Model
public class TabularEditor.TOMWrapper.Model
: TabularNamedObject, ITabularObject, INotifyPropertyChanged, INotifyPropertyChanging, ITabularNamedObject, IComparable, IDescriptionObject, IAnnotationObject, ITabularObjectContainer
Fields
| Type | Name | Summary |
|---|---|---|
LogicalGroup |
GroupDataSources | |
LogicalGroup |
GroupPerspectives | |
LogicalGroup |
GroupRelationships | |
LogicalGroup |
GroupRoles | |
LogicalGroup |
GroupTables | |
LogicalGroup |
GroupTranslations |
Properties
| Type | Name | Summary |
|---|---|---|
IEnumerable<Column> |
AllColumns | |
IEnumerable<Hierarchy> |
AllHierarchies | |
IEnumerable<Level> |
AllLevels | |
IEnumerable<Measure> |
AllMeasures | |
String |
Collation | Gets or sets the Collation of the Model. |
String |
Culture | Gets or sets the Culture of the Model. |
CultureCollection |
Cultures | |
Database |
Database | |
DataSourceCollection |
DataSources | |
DataViewType |
DefaultDataView | Gets or sets the DefaultDataView of the Model. |
ModeType |
DefaultMode | Gets or sets the DefaultMode of the Model. |
String |
Description | Gets or sets the Description of the Model. |
Boolean |
HasLocalChanges | Gets or sets the HasLocalChanges of the Model. |
IEnumerable<LogicalGroup> |
LogicalChildGroups | |
Model |
MetadataObject | |
PerspectiveCollection |
Perspectives | |
RelationshipCollection2 |
Relationships | |
ModelRoleCollection |
Roles | |
String |
StorageLocation | Gets or sets the StorageLocation of the Model. |
TableCollection |
Tables | |
TranslationIndexer |
TranslatedDescriptions | Collection of localized descriptions for this Model. |
Methods
| Type | Name | Summary |
|---|---|---|
CalculatedTable |
AddCalculatedTable() | |
Perspective |
AddPerspective(String name = null) |
|
SingleColumnRelationship |
AddRelationship() | |
ModelRole |
AddRole(String name = null) |
|
Table |
AddTable() | |
Culture |
AddTranslation(String cultureId) |
|
String |
GetAnnotation(String name) |
|
IEnumerable<ITabularNamedObject> |
GetChildren() | |
void |
Init() | |
void |
LoadChildObjects() | |
void |
SetAnnotation(String name, String value, Boolean undoable = True) |
ModelRole
Base class declaration for ModelRole
public class TabularEditor.TOMWrapper.ModelRole
: TabularNamedObject, ITabularObject, INotifyPropertyChanged, INotifyPropertyChanging, ITabularNamedObject, IComparable, IDescriptionObject, IAnnotationObject
Properties
| Type | Name | Summary |
|---|---|---|
String |
Description | Gets or sets the Description of the ModelRole. |
ModelRole |
MetadataObject | |
ModelPermission |
ModelPermission | Gets or sets the ModelPermission of the ModelRole. |
RoleRLSIndexer |
RowLevelSecurity | |
TranslationIndexer |
TranslatedDescriptions | Collection of localized descriptions for this ModelRole. |
Methods
| Type | Name | Summary |
|---|---|---|
TabularNamedObject |
Clone(String newName, Boolean includeTranslations) |
|
void |
Delete() | |
String |
GetAnnotation(String name) |
|
void |
InitRLSIndexer() | |
void |
SetAnnotation(String name, String value, Boolean undoable = True) |
|
void |
Undelete(ITabularObjectCollection collection) |
ModelRoleCollection
Collection class for ModelRole. Provides convenient properties for setting a property on multiple objects at once.
public class TabularEditor.TOMWrapper.ModelRoleCollection
: TabularObjectCollection<ModelRole, ModelRole, Model>, IList, ICollection, IEnumerable, INotifyCollectionChanged, ICollection<ModelRole>, IEnumerable<ModelRole>, IList<ModelRole>, ITabularObjectCollection, IExpandableIndexer
Properties
| Type | Name | Summary |
|---|---|---|
String |
Description | |
ModelPermission |
ModelPermission | |
Model |
Parent |
Methods
| Type | Name | Summary |
|---|---|---|
String |
ToString() |
NullTree
public class TabularEditor.TOMWrapper.NullTree
: TabularTree, INotifyPropertyChanged
Methods
| Type | Name | Summary |
|---|---|---|
void |
OnNodesChanged(ITabularObject nodeItem) |
|
void |
OnNodesInserted(ITabularObject parent, ITabularObject[] children) |
|
void |
OnNodesRemoved(ITabularObject parent, ITabularObject[] children) |
|
void |
OnStructureChanged(ITabularNamedObject obj = null) |
ObjectOrder
public enum TabularEditor.TOMWrapper.ObjectOrder
: Enum, IComparable, IFormattable, IConvertible
Enum
| Value | Name | Summary |
|---|---|---|
0 |
Alphabetical | |
1 |
Metadata |
ObjectType
public enum TabularEditor.TOMWrapper.ObjectType
: Enum, IComparable, IFormattable, IConvertible
Enum
| Value | Name | Summary |
|---|---|---|
-2 |
Group | |
-1 |
Folder | |
1 |
Model | |
2 |
DataSource | |
3 |
Table | |
4 |
Column | |
5 |
AttributeHierarchy | |
6 |
Partition | |
7 |
Relationship | |
8 |
Measure | |
9 |
Hierarchy | |
10 |
Level | |
11 |
Annotation | |
12 |
KPI | |
13 |
Culture | |
14 |
ObjectTranslation | |
15 |
LinguisticMetadata | |
29 |
Perspective | |
30 |
PerspectiveTable | |
31 |
PerspectiveColumn | |
32 |
PerspectiveHierarchy | |
33 |
PerspectiveMeasure | |
34 |
Role | |
35 |
RoleMembership | |
36 |
TablePermission | |
1000 |
Database |
Partition
Base class declaration for Partition
public class TabularEditor.TOMWrapper.Partition
: TabularNamedObject, ITabularObject, INotifyPropertyChanged, INotifyPropertyChanging, ITabularNamedObject, IComparable, IDynamicPropertyObject, IErrorMessageObject, ITabularTableObject, IDescriptionObject, IAnnotationObject
Properties
| Type | Name | Summary |
|---|---|---|
DataSource |
DataSource | |
DataViewType |
DataView | Gets or sets the DataView of the Partition. |
String |
Description | Gets or sets the Description of the Partition. |
String |
ErrorMessage | Gets or sets the ErrorMessage of the Partition. |
String |
Expression | |
Partition |
MetadataObject | |
ModeType |
Mode | Gets or sets the Mode of the Partition. |
String |
Name | |
String |
Query | |
DateTime |
RefreshedTime | |
String |
Source | |
PartitionSourceType |
SourceType | Gets or sets the SourceType of the Partition. |
ObjectState |
State | Gets or sets the State of the Partition. |
Table |
Table | |
TranslationIndexer |
TranslatedDescriptions | Collection of localized descriptions for this Partition. |
Methods
| Type | Name | Summary |
|---|---|---|
Boolean |
Browsable(String propertyName) |
|
Boolean |
Editable(String propertyName) |
|
String |
GetAnnotation(String name) |
|
void |
SetAnnotation(String name, String value, Boolean undoable = True) |
|
void |
Undelete(ITabularObjectCollection collection) |
PartitionCollection
Collection class for Partition. Provides convenient properties for setting a property on multiple objects at once.
public class TabularEditor.TOMWrapper.PartitionCollection
: TabularObjectCollection<Partition, Partition, Table>, IList, ICollection, IEnumerable, INotifyCollectionChanged, ICollection<Partition>, IEnumerable<Partition>, IList<Partition>, ITabularObjectCollection, IExpandableIndexer
Properties
| Type | Name | Summary |
|---|---|---|
DataViewType |
DataView | |
String |
Description | |
ModeType |
Mode | |
Table |
Parent |
Methods
| Type | Name | Summary |
|---|---|---|
String |
ToString() |
Perspective
Base class declaration for Perspective
public class TabularEditor.TOMWrapper.Perspective
: TabularNamedObject, ITabularObject, INotifyPropertyChanged, INotifyPropertyChanging, ITabularNamedObject, IComparable, IDescriptionObject, IAnnotationObject
Properties
| Type | Name | Summary |
|---|---|---|
String |
Description | Gets or sets the Description of the Perspective. |
Perspective |
MetadataObject | |
TranslationIndexer |
TranslatedDescriptions | Collection of localized descriptions for this Perspective. |
Methods
| Type | Name | Summary |
|---|---|---|
TabularNamedObject |
Clone(String newName, Boolean includeTranslations) |
|
void |
Delete() | |
String |
GetAnnotation(String name) |
|
void |
SetAnnotation(String name, String value, Boolean undoable = True) |
|
void |
Undelete(ITabularObjectCollection collection) |
PerspectiveCollection
Collection class for Perspective. Provides convenient properties for setting a property on multiple objects at once.
public class TabularEditor.TOMWrapper.PerspectiveCollection
: TabularObjectCollection<Perspective, Perspective, Model>, IList, ICollection, IEnumerable, INotifyCollectionChanged, ICollection<Perspective>, IEnumerable<Perspective>, IList<Perspective>, ITabularObjectCollection, IExpandableIndexer
Properties
| Type | Name | Summary |
|---|---|---|
String |
Description | |
Model |
Parent |
Methods
| Type | Name | Summary |
|---|---|---|
String |
ToString() |
PerspectiveColumnIndexer
public class TabularEditor.TOMWrapper.PerspectiveColumnIndexer
: PerspectiveIndexer, IEnumerable<Boolean>, IEnumerable, IExpandableIndexer
Properties
| Type | Name | Summary |
|---|---|---|
Column |
Column |
Methods
| Type | Name | Summary |
|---|---|---|
void |
Refresh() | |
void |
SetInPerspective(Perspective perspective, Boolean included) |
PerspectiveHierarchyIndexer
public class TabularEditor.TOMWrapper.PerspectiveHierarchyIndexer
: PerspectiveIndexer, IEnumerable<Boolean>, IEnumerable, IExpandableIndexer
Properties
| Type | Name | Summary |
|---|---|---|
Hierarchy |
Hierarchy |
Methods
| Type | Name | Summary |
|---|---|---|
void |
Refresh() | |
void |
SetInPerspective(Perspective perspective, Boolean included) |
PerspectiveIndexer
public abstract class TabularEditor.TOMWrapper.PerspectiveIndexer
: IEnumerable<Boolean>, IEnumerable, IExpandableIndexer
Fields
| Type | Name | Summary |
|---|---|---|
TabularNamedObject |
TabularObject |
Properties
| Type | Name | Summary |
|---|---|---|
Boolean |
Item | |
Boolean |
Item | |
IEnumerable<String> |
Keys | |
Dictionary<Perspective, Boolean> |
PerspectiveMap | |
String |
Summary |
Methods
| Type | Name | Summary |
|---|---|---|
void |
All() | Includes the object in all perspectives. |
Dictionary<String, Boolean> |
Copy() | |
void |
CopyFrom(PerspectiveIndexer source) |
|
void |
CopyFrom(IDictionary<String, Boolean> source) |
|
String |
GetDisplayName(String key) |
|
IEnumerator<Boolean> |
GetEnumerator() | |
void |
None() | |
void |
Refresh() | |
void |
SetInPerspective(Perspective perspective, Boolean included) |
PerspectiveMeasureIndexer
public class TabularEditor.TOMWrapper.PerspectiveMeasureIndexer
: PerspectiveIndexer, IEnumerable<Boolean>, IEnumerable, IExpandableIndexer
Properties
| Type | Name | Summary |
|---|---|---|
Measure |
Measure |
Methods
| Type | Name | Summary |
|---|---|---|
void |
Refresh() | |
void |
SetInPerspective(Perspective perspective, Boolean included) |
PerspectiveTableIndexer
public class TabularEditor.TOMWrapper.PerspectiveTableIndexer
: PerspectiveIndexer, IEnumerable<Boolean>, IEnumerable, IExpandableIndexer
Properties
| Type | Name | Summary |
|---|---|---|
Boolean |
Item | |
Table |
Table |
Methods
| Type | Name | Summary |
|---|---|---|
PerspectiveTable |
EnsurePTExists(Perspective perspective) |
|
void |
Refresh() | |
void |
SetInPerspective(Perspective perspective, Boolean included) |
ProviderDataSource
Base class declaration for ProviderDataSource
public class TabularEditor.TOMWrapper.ProviderDataSource
: DataSource, ITabularObject, INotifyPropertyChanged, INotifyPropertyChanging, ITabularNamedObject, IComparable, IDescriptionObject, IAnnotationObject, IDynamicPropertyObject
Properties
| Type | Name | Summary |
|---|---|---|
String |
Account | Gets or sets the Account of the ProviderDataSource. |
String |
ConnectionString | Gets or sets the ConnectionString of the ProviderDataSource. |
ImpersonationMode |
ImpersonationMode | Gets or sets the ImpersonationMode of the ProviderDataSource. |
DatasourceIsolation |
Isolation | Gets or sets the Isolation of the ProviderDataSource. |
Boolean |
IsPowerBIMashup | |
String |
Location | |
Int32 |
MaxConnections | Gets or sets the MaxConnections of the ProviderDataSource. |
ProviderDataSource |
MetadataObject | |
String |
MQuery | |
String |
Name | |
String |
Password | Gets or sets the Password of the ProviderDataSource. |
String |
Provider | Gets or sets the Provider of the ProviderDataSource. |
String |
SourceID | |
Int32 |
Timeout | Gets or sets the Timeout of the ProviderDataSource. |
Methods
| Type | Name | Summary |
|---|---|---|
Boolean |
Browsable(String propertyName) |
|
Boolean |
Editable(String propertyName) |
|
void |
Init() |
Relationship
Base class declaration for Relationship
public abstract class TabularEditor.TOMWrapper.Relationship
: TabularNamedObject, ITabularObject, INotifyPropertyChanged, INotifyPropertyChanging, ITabularNamedObject, IComparable, IAnnotationObject
Properties
| Type | Name | Summary |
|---|---|---|
CrossFilteringBehavior |
CrossFilteringBehavior | Gets or sets the CrossFilteringBehavior of the Relationship. |
Table |
FromTable | Gets or sets the FromTable of the Relationship. |
Boolean |
IsActive | Gets or sets the IsActive of the Relationship. |
DateTimeRelationshipBehavior |
JoinOnDateBehavior | Gets or sets the JoinOnDateBehavior of the Relationship. |
Relationship |
MetadataObject | |
Boolean |
RelyOnReferentialIntegrity | Gets or sets the RelyOnReferentialIntegrity of the Relationship. |
SecurityFilteringBehavior |
SecurityFilteringBehavior | Gets or sets the SecurityFilteringBehavior of the Relationship. |
ObjectState |
State | Gets or sets the State of the Relationship. |
Table |
ToTable | Gets or sets the ToTable of the Relationship. |
RelationshipType |
Type | Gets or sets the Type of the Relationship. |
Methods
| Type | Name | Summary |
|---|---|---|
String |
GetAnnotation(String name) |
|
void |
SetAnnotation(String name, String value, Boolean undoable = True) |
RelationshipCollection
Collection class for Relationship. Provides convenient properties for setting a property on multiple objects at once.
public class TabularEditor.TOMWrapper.RelationshipCollection
: TabularObjectCollection<Relationship, Relationship, Model>, IList, ICollection, IEnumerable, INotifyCollectionChanged, ICollection<Relationship>, IEnumerable<Relationship>, IList<Relationship>, ITabularObjectCollection, IExpandableIndexer
Properties
| Type | Name | Summary |
|---|---|---|
CrossFilteringBehavior |
CrossFilteringBehavior | |
Boolean |
IsActive | |
DateTimeRelationshipBehavior |
JoinOnDateBehavior | |
Model |
Parent | |
Boolean |
RelyOnReferentialIntegrity | |
SecurityFilteringBehavior |
SecurityFilteringBehavior |
Methods
| Type | Name | Summary |
|---|---|---|
String |
ToString() |
RelationshipCollection2
public class TabularEditor.TOMWrapper.RelationshipCollection2
: TabularObjectCollection<SingleColumnRelationship, Relationship, Model>, IList, ICollection, IEnumerable, INotifyCollectionChanged, ICollection<SingleColumnRelationship>, IEnumerable<SingleColumnRelationship>, IList<SingleColumnRelationship>, ITabularObjectCollection, IExpandableIndexer
Properties
| Type | Name | Summary |
|---|---|---|
CrossFilteringBehavior |
CrossFilteringBehavior | |
Boolean |
IsActive | |
DateTimeRelationshipBehavior |
JoinOnDateBehavior | |
Model |
Parent | |
Boolean |
RelyOnReferentialIntegrity | |
SecurityFilteringBehavior |
SecurityFilteringBehavior |
Methods
| Type | Name | Summary |
|---|---|---|
String |
ToString() |
RoleRLSIndexer
The RoleRLSIndexer is used to browse all filters across all tables in the model, for one specific role. This is in contrast to the TableRLSIndexer, which browses the filters across all roles in the model, for one specific table.
public class TabularEditor.TOMWrapper.RoleRLSIndexer
: IEnumerable<String>, IEnumerable, IExpandableIndexer
Fields
| Type | Name | Summary |
|---|---|---|
ModelRole |
Role |
Properties
| Type | Name | Summary |
|---|---|---|
String |
Item | |
String |
Item | |
IEnumerable<String> |
Keys | |
Dictionary<Table, String> |
RLSMap | |
String |
Summary |
Methods
| Type | Name | Summary |
|---|---|---|
void |
Clear() | |
void |
CopyFrom(RoleRLSIndexer source) |
|
String |
GetDisplayName(String key) |
|
IEnumerator<String> |
GetEnumerator() | |
void |
Refresh() | |
void |
SetRLS(Table table, String filterExpression) |
SerializeOptions
public class TabularEditor.TOMWrapper.SerializeOptions
Fields
| Type | Name | Summary |
|---|---|---|
Boolean |
IgnoreInferredObjects | |
Boolean |
IgnoreInferredProperties | |
Boolean |
IgnoreTimestamps | |
HashSet<String> |
Levels | |
Boolean |
PrefixFilenames | |
Boolean |
SplitMultilineStrings |
Static Properties
| Type | Name | Summary |
|---|---|---|
SerializeOptions |
Default |
SingleColumnRelationship
Base class declaration for SingleColumnRelationship
public class TabularEditor.TOMWrapper.SingleColumnRelationship
: Relationship, ITabularObject, INotifyPropertyChanged, INotifyPropertyChanging, ITabularNamedObject, IComparable, IAnnotationObject, IDynamicPropertyObject
Properties
| Type | Name | Summary |
|---|---|---|
RelationshipEndCardinality |
FromCardinality | Gets or sets the FromCardinality of the SingleColumnRelationship. |
Column |
FromColumn | Gets or sets the FromColumn of the SingleColumnRelationship. |
SingleColumnRelationship |
MetadataObject | |
String |
Name | |
RelationshipEndCardinality |
ToCardinality | Gets or sets the ToCardinality of the SingleColumnRelationship. |
Column |
ToColumn | Gets or sets the ToColumn of the SingleColumnRelationship. |
Methods
| Type | Name | Summary |
|---|---|---|
Boolean |
Browsable(String propertyName) |
|
void |
Delete() | |
Boolean |
Editable(String propertyName) |
|
void |
Init() | |
void |
OnPropertyChanged(String propertyName, Object oldValue, Object newValue) |
|
void |
OnPropertyChanging(String propertyName, Object newValue, Boolean& undoable, Boolean& cancel) |
|
String |
ToString() | |
void |
Undelete(ITabularObjectCollection collection) |
Table
Base class declaration for Table
public class TabularEditor.TOMWrapper.Table
: TabularNamedObject, ITabularObject, INotifyPropertyChanged, INotifyPropertyChanging, ITabularNamedObject, IComparable, IHideableObject, IDescriptionObject, IAnnotationObject, ITabularObjectContainer, IDetailObjectContainer, ITabularPerspectiveObject, IDaxObject, IDynamicPropertyObject, IErrorMessageObject
Properties
| Type | Name | Summary |
|---|---|---|
IEnumerable<Level> |
AllLevels | |
ColumnCollection |
Columns | |
String |
DataCategory | Gets or sets the DataCategory of the Table. |
String |
DaxObjectFullName | |
String |
DaxObjectName | |
String |
DaxTableName | |
HashSet<IExpressionObject> |
Dependants | |
String |
Description | Gets or sets the Description of the Table. |
String |
ErrorMessage | |
HierarchyCollection |
Hierarchies | |
PerspectiveIndexer |
InPerspective | |
Boolean |
IsHidden | Gets or sets the IsHidden of the Table. |
MeasureCollection |
Measures | |
Table |
MetadataObject | |
String |
Name | |
Table |
ParentTable | |
PartitionCollection |
Partitions | |
TableRLSIndexer |
RowLevelSecurity | |
String |
Source | |
PartitionSourceType |
SourceType | |
TranslationIndexer |
TranslatedDescriptions | Collection of localized descriptions for this Table. |
Methods
| Type | Name | Summary |
|---|---|---|
CalculatedColumn |
AddCalculatedColumn(String name = null, String expression = null, String displayFolder = null) |
|
DataColumn |
AddDataColumn(String name = null, String sourceColumn = null, String displayFolder = null) |
|
Hierarchy |
AddHierarchy(String name = null, String displayFolder = null, Column[] levels) |
|
Hierarchy |
AddHierarchy(String name, String displayFolder = null, String[] levels) |
|
Measure |
AddMeasure(String name = null, String expression = null, String displayFolder = null) |
|
Boolean |
Browsable(String propertyName) |
|
void |
CheckChildrenErrors() | |
void |
Children_CollectionChanged(Object sender, NotifyCollectionChangedEventArgs e) |
|
TabularNamedObject |
Clone(String newName = null, Boolean includeTranslations = False) |
|
void |
Delete() | |
Boolean |
Editable(String propertyName) |
|
String |
GetAnnotation(String name) |
|
IEnumerable<ITabularNamedObject> |
GetChildren() | Returns all columns, measures and hierarchies inside this table. |
IEnumerable<IDetailObject> |
GetChildrenByFolders(Boolean recursive) |
|
void |
Init() | |
void |
InitRLSIndexer() | |
void |
OnPropertyChanged(String propertyName, Object oldValue, Object newValue) |
|
void |
OnPropertyChanging(String propertyName, Object newValue, Boolean& undoable, Boolean& cancel) |
|
void |
SetAnnotation(String name, String value, Boolean undoable = True) |
|
void |
Undelete(ITabularObjectCollection collection) |
Static Fields
| Type | Name | Summary |
|---|---|---|
Char[] |
InvalidTableNameChars |
TableCollection
Collection class for Table. Provides convenient properties for setting a property on multiple objects at once.
public class TabularEditor.TOMWrapper.TableCollection
: TabularObjectCollection<Table, Table, Model>, IList, ICollection, IEnumerable, INotifyCollectionChanged, ICollection<Table>, IEnumerable<Table>, IList<Table>, ITabularObjectCollection, IExpandableIndexer
Properties
| Type | Name | Summary |
|---|---|---|
String |
DataCategory | |
String |
Description | |
Boolean |
IsHidden | |
Model |
Parent |
Methods
| Type | Name | Summary |
|---|---|---|
String |
ToString() |
TableExtension
public static class TabularEditor.TOMWrapper.TableExtension
Static Methods
| Type | Name | Summary |
|---|---|---|
PartitionSourceType |
GetSourceType(this Table table) |
TableRLSIndexer
The TableRLSIndexer is used to browse all filters defined on one specific table, across all roles in the model. This is in contrast to the RoleRLSIndexer, which browses the filters across all tables for one specific role.
public class TabularEditor.TOMWrapper.TableRLSIndexer
: IEnumerable<String>, IEnumerable, IExpandableIndexer
Fields
| Type | Name | Summary |
|---|---|---|
Table |
Table |
Properties
| Type | Name | Summary |
|---|---|---|
String |
Item | |
String |
Item | |
IEnumerable<String> |
Keys | |
Dictionary<ModelRole, String> |
RLSMap | |
String |
Summary |
Methods
| Type | Name | Summary |
|---|---|---|
void |
Clear() | |
void |
CopyFrom(TableRLSIndexer source) |
|
String |
GetDisplayName(String key) |
|
IEnumerator<String> |
GetEnumerator() | |
void |
Refresh() | |
void |
SetRLS(ModelRole role, String filterExpression) |
TabularCollectionHelper
public static class TabularEditor.TOMWrapper.TabularCollectionHelper
Static Methods
| Type | Name | Summary |
|---|---|---|
void |
InPerspective(this IEnumerable<Table> tables, String perspective, Boolean value) |
|
void |
InPerspective(this IEnumerable<Column> columns, String perspective, Boolean value) |
|
void |
InPerspective(this IEnumerable<Hierarchy> hierarchies, String perspective, Boolean value) |
|
void |
InPerspective(this IEnumerable<Measure> measures, String perspective, Boolean value) |
|
void |
InPerspective(this IEnumerable<Table> tables, Perspective perspective, Boolean value) |
|
void |
InPerspective(this IEnumerable<Column> columns, Perspective perspective, Boolean value) |
|
void |
InPerspective(this IEnumerable<Hierarchy> hierarchies, Perspective perspective, Boolean value) |
|
void |
InPerspective(this IEnumerable<Measure> measures, Perspective perspective, Boolean value) |
|
void |
SetDisplayFolder(this IEnumerable<Measure> measures, String displayFolder) |
TabularCommonActions
Provides convenient methods for common actions on a Tabular Model, that often involve changing multiple objects at once. For example, these methods may be used to easily perform UI drag and drop operations that will change hierarchy levels, display folders, etc.
public class TabularEditor.TOMWrapper.TabularCommonActions
Properties
| Type | Name | Summary |
|---|---|---|
TabularModelHandler |
Handler |
Methods
| Type | Name | Summary |
|---|---|---|
void |
AddColumnsToHierarchy(IEnumerable<Column> columns, Hierarchy hierarchy, Int32 firstOrdinal = -1) |
|
Level |
AddColumnToHierarchy(Column column, Hierarchy hierarchy, Int32 ordinal = -1) |
|
void |
MoveObjects(IEnumerable<IDetailObject> objects, Table newTable, Culture culture) |
|
String |
NewColumnName(String prefix, Table table) |
|
String |
NewMeasureName(String prefix) |
|
void |
ReorderLevels(IEnumerable<Level> levels, Int32 firstOrdinal) |
|
void |
SetContainer(IEnumerable<IDetailObject> objects, IDetailObjectContainer newContainer, Culture culture) |
TabularConnection
public static class TabularEditor.TOMWrapper.TabularConnection
Static Methods
| Type | Name | Summary |
|---|---|---|
String |
GetConnectionString(String serverName) |
|
String |
GetConnectionString(String serverName, String userName, String password) |
TabularCultureHelper
public static class TabularEditor.TOMWrapper.TabularCultureHelper
Static Methods
| Type | Name | Summary |
|---|---|---|
Boolean |
ImportTranslations(String culturesJson, Model Model, Boolean overwriteExisting, Boolean haltOnError) |
TabularDeployer
public class TabularEditor.TOMWrapper.TabularDeployer
Static Methods
| Type | Name | Summary |
|---|---|---|
void |
Deploy(Database db, String targetConnectionString, String targetDatabaseName) |
Deploys the specified database to the specified target server and database ID, using the specified options. Returns a list of DAX errors (if any) on objects inside the database, in case the deployment was successful. |
DeploymentResult |
Deploy(Database db, String targetConnectionString, String targetDatabaseID, DeploymentOptions options) |
Deploys the specified database to the specified target server and database ID, using the specified options. Returns a list of DAX errors (if any) on objects inside the database, in case the deployment was successful. |
String |
GetTMSL(Database db, Server server, String targetDatabaseID, DeploymentOptions options) |
|
void |
SaveModelMetadataBackup(String connectionString, String targetDatabaseID, String backupFilePath) |
|
void |
WriteZip(String fileName, String content) |
TabularModelHandler
public class TabularEditor.TOMWrapper.TabularModelHandler
: IDisposable
Fields
| Type | Name | Summary |
|---|---|---|
Dictionary<String, ITabularObjectCollection> |
WrapperCollections | |
Dictionary<MetadataObject, TabularObject> |
WrapperLookup |
Properties
| Type | Name | Summary |
|---|---|---|
TabularCommonActions |
Actions | |
Boolean |
AutoFixup | Specifies whether object name changes (tables, column, measures) should result in automatic DAX expression updates to reflect the changed names. When set to true, all expressions in the model are parsed, to build a dependency tree. |
Database |
Database | |
Boolean |
DelayBuildDependencyTree | |
IList<Tuple<NamedMetadataObject, String>> |
Errors | |
Boolean |
HasUnsavedChanges | |
Boolean |
IsConnected | |
Model |
Model | |
String |
Status | |
TabularTree |
Tree | |
UndoManager |
UndoManager | |
Int64 |
Version |
Methods
| Type | Name | Summary |
|---|---|---|
IDetailObject |
Add(AddObjectType objectType, IDetailObjectContainer container) |
|
void |
BeginUpdate(String undoName) |
|
void |
BuildDependencyTree(IExpressionObject expressionObj) |
|
void |
BuildDependencyTree() | |
ConflictInfo |
CheckConflicts() | |
IList<TabularNamedObject> |
DeserializeObjects(String json) |
|
void |
Dispose() | |
void |
DoFixup(IDaxObject obj, String newName) |
Changes all references to object "obj", to reflect "newName" |
Int32 |
EndUpdate(Boolean undoable = True, Boolean rollback = False) |
|
Int32 |
EndUpdateAll(Boolean rollback = False) |
|
Model |
GetModel() | |
Boolean |
ImportTranslations(String culturesJson, Boolean overwriteExisting, Boolean ignoreInvalid) |
Applys translation from a JSON string. |
void |
SaveDB() | Saves the changes to the database. It is the users responsibility to check if changes were made to the database since it was loaded to the TOMWrapper. You can use Handler.CheckConflicts() for this purpose. |
void |
SaveFile(String fileName, SerializeOptions options) |
|
void |
SaveToFolder(String path, SerializeOptions options) |
|
String |
ScriptCreateOrReplace() | Scripts the entire database |
String |
ScriptCreateOrReplace(TabularNamedObject obj) |
Scripts the entire database |
String |
ScriptTranslations(IEnumerable<Culture> translations) |
|
String |
SerializeObjects(IEnumerable<TabularNamedObject> objects) |
|
void |
UpdateFolders(Table table) |
|
void |
UpdateLevels(Hierarchy hierarchy) |
|
void |
UpdateObject(ITabularObject obj) |
|
void |
UpdateTables() |
Static Fields
| Type | Name | Summary |
|---|---|---|
String |
PROP_ERRORS | |
String |
PROP_HASUNSAVEDCHANGES | |
String |
PROP_ISCONNECTED | |
String |
PROP_STATUS |
Static Properties
| Type | Name | Summary |
|---|---|---|
TabularModelHandler |
Singleton |
Static Methods
| Type | Name | Summary |
|---|---|---|
List<Tuple<NamedMetadataObject, String>> |
CheckErrors(Database database) |
|
List<Tuple<NamedMetadataObject, ObjectState>> |
CheckProcessingState(Database database) |
TabularNamedObject
A TabularObject is a wrapper for the Microsoft.AnalysisServices.Tabular.NamedMetadataObject class. This wrapper is used for all objects that are to be viewable and editable in the Tabular Editor. The same base class is used for all kinds of objects in a Tabular Model. This base class provides method for editing the (localized) name and description.
public abstract class TabularEditor.TOMWrapper.TabularNamedObject
: TabularObject, ITabularObject, INotifyPropertyChanged, INotifyPropertyChanging, ITabularNamedObject, IComparable
Properties
| Type | Name | Summary |
|---|---|---|
Int32 |
MetadataIndex | |
NamedMetadataObject |
MetadataObject | |
String |
Name | |
TranslationIndexer |
TranslatedNames | Collection of localized names for this object. |
Methods
| Type | Name | Summary |
|---|---|---|
TabularNamedObject |
Clone(String newName, Boolean includeTranslations) |
|
Int32 |
CompareTo(Object obj) |
|
void |
Delete() | |
void |
Init() | |
void |
Undelete(ITabularObjectCollection collection) |
Hacky workaround needed to undo a delete operations. Derived classes must take care to update any objects "owned" by the object in question. For example, a Measure must take care of updating the wrapper for its KPI (if any). |
TabularObject
public abstract class TabularEditor.TOMWrapper.TabularObject
: ITabularObject, INotifyPropertyChanged, INotifyPropertyChanging
Fields
| Type | Name | Summary |
|---|---|---|
ITabularObjectCollection |
Collection | |
TabularModelHandler |
Handler |
Properties
| Type | Name | Summary |
|---|---|---|
MetadataObject |
MetadataObject | |
Model |
Model | |
ObjectType |
ObjectType | |
String |
ObjectTypeName | |
TranslationIndexer |
TranslatedDescriptions | |
TranslationIndexer |
TranslatedDisplayFolders |
Events
| Type | Name | Summary |
|---|---|---|
PropertyChangedEventHandler |
PropertyChanged | |
PropertyChangingEventHandler |
PropertyChanging |
Methods
| Type | Name | Summary |
|---|---|---|
void |
Init() | Derived members should override this method to instantiate child objects |
void |
OnPropertyChanged(String propertyName, Object oldValue, Object newValue) |
|
void |
OnPropertyChanging(String propertyName, Object newValue, Boolean& undoable, Boolean& cancel) |
Called before a property is changed on an object. Derived classes can control how the change is handled. Throw ArgumentException within this method, to display an error message in the UI. |
Boolean |
SetField(T& field, T value, String propertyName = null) |
TabularObjectCollection<T, TT, TP>
public abstract class TabularEditor.TOMWrapper.TabularObjectCollection<T, TT, TP>
: IList, ICollection, IEnumerable, INotifyCollectionChanged, ICollection<T>, IEnumerable<T>, IList<T>, ITabularObjectCollection, IExpandableIndexer
Properties
| Type | Name | Summary |
|---|---|---|
String |
CollectionName | |
Int32 |
Count | |
TabularModelHandler |
Handler | |
Boolean |
IsFixedSize | |
Boolean |
IsReadOnly | |
Boolean |
IsSynchronized | |
T |
Item | |
T |
Item | |
IEnumerable<String> |
Keys | |
NamedMetadataObjectCollection<TT, TP> |
MetadataObjectCollection | |
String |
Summary | |
Object |
SyncRoot |
Events
| Type | Name | Summary |
|---|---|---|
NotifyCollectionChangedEventHandler |
CollectionChanged |
Methods
| Type | Name | Summary |
|---|---|---|
void |
Add(T item) |
|
void |
Add(TabularNamedObject item) |
|
Int32 |
Add(Object value) |
|
void |
Clear() | |
Boolean |
Contains(T item) |
|
Boolean |
Contains(Object value) |
|
Boolean |
Contains(String name) |
|
void |
CopyTo(T[] array, Int32 arrayIndex) |
|
void |
CopyTo(Array array, Int32 index) |
|
void |
ForEach(Action<T> action) |
|
ITabularObjectCollection |
GetCurrentCollection() | |
String |
GetDisplayName(String key) |
|
IEnumerator<T> |
GetEnumerator() | |
Int32 |
IndexOf(TabularNamedObject obj) |
|
Int32 |
IndexOf(T item) |
|
Int32 |
IndexOf(Object value) |
|
void |
Insert(Int32 index, T item) |
|
void |
Insert(Int32 index, Object value) |
|
void |
Refresh() | |
void |
Remove(TabularNamedObject item) |
|
Boolean |
Remove(T item) |
|
void |
Remove(Object value) |
|
void |
RemoveAt(Int32 index) |
TabularObjectComparer
public class TabularEditor.TOMWrapper.TabularObjectComparer
: IComparer<ITabularNamedObject>, IComparer
Properties
| Type | Name | Summary |
|---|---|---|
ObjectOrder |
Order |
Methods
| Type | Name | Summary |
|---|---|---|
Int32 |
Compare(Object x, Object y) |
|
Int32 |
Compare(ITabularNamedObject x, ITabularNamedObject y) |
TabularObjectHelper
public static class TabularEditor.TOMWrapper.TabularObjectHelper
Static Methods
| Type | Name | Summary |
|---|---|---|
String |
GetLinqPath(this TabularNamedObject obj) |
|
String |
GetName(this ITabularNamedObject obj, Culture culture) |
|
String |
GetObjectPath(this MetadataObject obj) |
|
String |
GetObjectPath(this TabularObject obj) |
|
String |
GetTypeName(this ObjectType objType, Boolean plural = False) |
|
String |
GetTypeName(this ITabularObject obj, Boolean plural = False) |
|
Boolean |
SetName(this ITabularNamedObject obj, String newName, Culture culture) |
|
String |
SplitCamelCase(this String str) |
TabularTree
The TabularLogicalModel controls the relation between TabularObjects for display in the TreeViewAdv control. Each individual TabularObject does not know or care about its logical relation to other objects (for example, through DisplayFolders in a specific culture). TabularObjects only care about their physical relations which are inherited from the Tabular Object Model directly (i.e., a measure belongs to a table, etc.).
public abstract class TabularEditor.TOMWrapper.TabularTree
: INotifyPropertyChanged
Fields
| Type | Name | Summary |
|---|---|---|
Dictionary<String, Folder> |
FolderTree |
Properties
| Type | Name | Summary |
|---|---|---|
Culture |
Culture | |
String |
Filter | |
TabularModelHandler |
Handler | |
Model |
Model | |
LogicalTreeOptions |
Options | |
Perspective |
Perspective | |
Int32 |
UpdateLocks |
Events
| Type | Name | Summary |
|---|---|---|
PropertyChangedEventHandler |
PropertyChanged |
Methods
| Type | Name | Summary |
|---|---|---|
void |
BeginUpdate() | |
void |
EndUpdate() | |
IEnumerable |
GetChildren(ITabularObjectContainer tabularObject) |
This method encapsulates the logic of how the tree representation of the tabular model should be structured |
Func<String, String> |
GetFolderMutation(Object source, Object destination) |
|
Func<String, String> |
GetFolderMutation(String oldPath, String newPath) |
|
void |
ModifyDisplayFolder(Table table, String oldPath, String newPath, Culture culture) |
Updates the DisplayFolder property of all tabular objects within one table. Objects residing in subfolders to the updated path, will also be updated. |
void |
OnNodesChanged(ITabularObject nodeItem) |
|
void |
OnNodesInserted(ITabularObject parent, ITabularObject[] children) |
|
void |
OnNodesInserted(ITabularObject parent, IEnumerable<ITabularObject> children) |
|
void |
OnNodesRemoved(ITabularObject parent, ITabularObject[] children) |
|
void |
OnNodesRemoved(ITabularObject parent, IEnumerable<ITabularObject> children) |
|
void |
OnStructureChanged(ITabularNamedObject obj = null) |
|
void |
SetCulture(String cultureName) |
|
void |
SetPerspective(String perspectiveName) |
|
void |
UpdateFolder(Folder folder, String oldFullPath = null) |
|
Boolean |
VisibleInTree(ITabularNamedObject tabularObject) |
TranslationIndexer
public class TabularEditor.TOMWrapper.TranslationIndexer
: IEnumerable<String>, IEnumerable, IExpandableIndexer
Properties
| Type | Name | Summary |
|---|---|---|
String |
DefaultValue | |
String |
Item | |
String |
Item | |
IEnumerable<String> |
Keys | |
String |
Summary | |
Int32 |
TranslatedCount |
Methods
| Type | Name | Summary |
|---|---|---|
void |
Clear() | Clears all translated values for the object. |
Boolean |
Contains(Culture culture) |
|
Dictionary<String, String> |
Copy() | |
void |
CopyFrom(TranslationIndexer translations, Func<String, String> mutator = null) |
|
void |
CopyFrom(IDictionary<String, String> source) |
|
String |
GetDisplayName(String key) |
|
IEnumerator<String> |
GetEnumerator() | |
void |
Refresh() | |
void |
Reset() | Resets the translations of the object. Caption translations are removed, making the object appear with the base name in all locales. Display Folder and Description translations are set to the untranslated value of the object. |
void |
SetAll(String value) |