Table of Contents

Class Database

Inheritance
Database
Implements
Inherited Members
Namespace
TabularEditor.TOMWrapper
Assembly
TOMWrapper.dll
public sealed class Database : DynamicPropertyObject, ICustomTypeDescriptor, ITabularObject, INotifyPropertyChanged, INotifyPropertyChanging, IQueryableObject
Extension Methods

Fields

InvalidNameCharacters

public static readonly char[] InvalidNameCharacters

Field Value

Type Description
char[]

Properties

CompatibilityLevel

public int CompatibilityLevel { get; set; }

Property Value

Type Description
int

CompatibilityMode

public CompatibilityMode CompatibilityMode { get; set; }

Property Value

Type Description
CompatibilityMode

CreatedTimestamp

public DateTime? CreatedTimestamp { get; }

Property Value

Type Description
DateTime?

Description

public string Description { get; set; }

Property Value

Type Description
string

EstimatedSize

public string EstimatedSize { get; }

Property Value

Type Description
string

ID

public string ID { get; set; }

Property Value

Type Description
string

IsRemoved

[Browsable(false)]
public bool IsRemoved { get; }

Property Value

Type Description
bool

LastProcessed

public DateTime? LastProcessed { get; }

Property Value

Type Description
DateTime?

LastSchemaUpdate

public DateTime? LastSchemaUpdate { get; }

Property Value

Type Description
DateTime?

LastUpdate

public DateTime? LastUpdate { get; }

Property Value

Type Description
DateTime?

Model

[Browsable(false)]
public Model Model { get; }

Property Value

Type Description
Model

Name

public string Name { get; set; }

Property Value

Type Description
string

ObjectType

[Browsable(false)]
public ObjectType ObjectType { get; }

Property Value

Type Description
ObjectType

ServerName

public string ServerName { get; }

Property Value

Type Description
string

ServerVersion

public string ServerVersion { get; }

Property Value

Type Description
string

TOMDatabase

[Browsable(false)]
public Database TOMDatabase { get; }

Property Value

Type Description
Database

Version

public long? Version { get; }

Property Value

Type Description
long?

Visible

public bool Visible { get; set; }

Property Value

Type Description
bool

Methods

ExecuteCommand(string, bool)

Executes the specified TMSL script against the connected instance of Analysis Services.

public void ExecuteCommand(string tmslOrXmla, bool isXmla = false)

Parameters

Type Name Description
string tmslOrXmla
bool isXmla

ExecuteReader(Server, string, string, string)

public static IDataReader ExecuteReader(Server server, string databaseName, string statement, string originalConnectionString)

Parameters

Type Name Description
Server server
string databaseName
string statement
string originalConnectionString

Returns

Type Description
IDataReader

ExecuteReader(string)

Executes the specified DAX query against the connected database and returns an AmoDataReader object that enumerates the result

public IDataReader ExecuteReader(string dax)

Parameters

Type Name Description
string dax

Returns

Type Description
IDataReader

ToString()

public override string ToString()

Returns

Type Description
string

Events

PropertyChanged

public event PropertyChangedEventHandler PropertyChanged

Event Type

Type Description
PropertyChangedEventHandler

PropertyChanging

public event PropertyChangingEventHandler PropertyChanging

Event Type

Type Description
PropertyChangingEventHandler