Table of Contents

Class TabularModelHandlerSettings

Inheritance
TabularModelHandlerSettings
Implements
Inherited Members
Namespace
TabularEditor.TOMWrapper
Assembly
TOMWrapper.dll
public record TabularModelHandlerSettings : IFixupSettings, IEquatable<TabularModelHandlerSettings>
Extension Methods

Constructors

TabularModelHandlerSettings()

public TabularModelHandlerSettings()

TabularModelHandlerSettings(TabularModelHandlerSettings)

protected TabularModelHandlerSettings(TabularModelHandlerSettings original)

Parameters

Type Name Description
TabularModelHandlerSettings original

Properties

AllowCalculateShortcutMeasuresAndAggFunctions

public SemanticEngineFeatureOverride AllowCalculateShortcutMeasuresAndAggFunctions { get; init; }

Property Value

Type Description
SemanticEngineFeatureOverride

AllowDateLiterals

public SemanticEngineFeatureOverride AllowDateLiterals { get; init; }

Property Value

Type Description
SemanticEngineFeatureOverride

AllowDirectionalCrossFilter

public SemanticEngineFeatureOverride AllowDirectionalCrossFilter { get; init; }

Property Value

Type Description
SemanticEngineFeatureOverride

AllowMultiColumnPredicates

public SemanticEngineFeatureOverride AllowMultiColumnPredicates { get; init; }

Property Value

Type Description
SemanticEngineFeatureOverride

AlwaysAddColumnQualifier

public bool AlwaysAddColumnQualifier { get; init; }

Property Value

Type Description
bool

AlwaysAddQuotes

public bool AlwaysAddQuotes { get; init; }

Property Value

Type Description
bool

AlwaysRemoveMeasureQualifier

public bool AlwaysRemoveMeasureQualifier { get; init; }

Property Value

Type Description
bool

AsEngineVersion

public AsEngineVersionOverride AsEngineVersion { get; init; }

Property Value

Type Description
AsEngineVersionOverride

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.

public bool AutoFixup { get; init; }

Property Value

Type Description
bool

AutoFixupDataTypes

public bool AutoFixupDataTypes { get; init; }

Property Value

Type Description
bool

AutoRefreshDirectLake

When tables are added to a DirectLake model, they will need to be explicitly refreshed once. Otherwise, all queries will fall back to DirectQuery mode.

public bool AutoRefreshDirectLake { get; init; }

Property Value

Type Description
bool

ChangeDetectionLocalServers

Specifies whether an AS trace should be started to monitor the server for changes made by other applications.

public bool ChangeDetectionLocalServers { get; init; }

Property Value

Type Description
bool

Default

public static TabularModelHandlerSettings Default { get; }

Property Value

Type Description
TabularModelHandlerSettings

DisallowDirectLake

When this is set to true, the TOMWrapper will not allow you to create DirectLake partitions.

public bool DisallowDirectLake { get; init; }

Property Value

Type Description
bool

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type Description
Type

NoSemanticAnalysis

public static TabularModelHandlerSettings NoSemanticAnalysis { get; }

Property Value

Type Description
TabularModelHandlerSettings

PBIFeaturesOnly

If this is set to TRUE, only features supported by Power BI may be browsed/edited through the TOMWrapper. This is useful for example when a .pbit file has been loaded, or when connected to a Power BI Desktop instance.

public bool PBIFeaturesOnly { get; init; }

Property Value

Type Description
bool

ReadOnly

public bool ReadOnly { get; init; }

Property Value

Type Description
bool

SemanticAnalysisEnabled

When enabled, Tabular Editor uses the DAX Semantic Analyzer to infer static information (syntax errors, data types, calculated table columns).

public bool SemanticAnalysisEnabled { get; init; }

Property Value

Type Description
bool

ShowWarningUnusedVariable

public bool ShowWarningUnusedVariable { get; init; }

Property Value

Type Description
bool

UsePowerQueryPartitionsByDefault

Set to true to always add a PowerQuery (M) partition by default to newly created tables

public bool UsePowerQueryPartitionsByDefault { get; init; }

Property Value

Type Description
bool

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

Type Name Description
object obj

Returns

Type Description
bool

Equals(TabularModelHandlerSettings?)

public virtual bool Equals(TabularModelHandlerSettings? other)

Parameters

Type Name Description
TabularModelHandlerSettings other

Returns

Type Description
bool

GetHashCode()

public override int GetHashCode()

Returns

Type Description
int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

Type Name Description
StringBuilder builder

Returns

Type Description
bool

ToString()

public override string ToString()

Returns

Type Description
string

<Clone>$()

public virtual TabularModelHandlerSettings <Clone>$()

Returns

Type Description
TabularModelHandlerSettings

Operators

operator ==(TabularModelHandlerSettings?, TabularModelHandlerSettings?)

public static bool operator ==(TabularModelHandlerSettings? left, TabularModelHandlerSettings? right)

Parameters

Type Name Description
TabularModelHandlerSettings left
TabularModelHandlerSettings right

Returns

Type Description
bool

operator !=(TabularModelHandlerSettings?, TabularModelHandlerSettings?)

public static bool operator !=(TabularModelHandlerSettings? left, TabularModelHandlerSettings? right)

Parameters

Type Name Description
TabularModelHandlerSettings left
TabularModelHandlerSettings right

Returns

Type Description
bool