Class Database
Assembly: TOMWrapper.dll
Syntax
[TypeConverter(typeof(DynamicPropertyConverter))]
public sealed class Database : ITabularObject, INotifyPropertyChanged, INotifyPropertyChanging, IQueryableObject
Fields
InvalidNameCharacters
Declaration
public static readonly char[] InvalidNameCharacters
Field Value
Properties
CompatibilityLevel
Declaration
public int CompatibilityLevel { get; set; }
Property Value
CompatibilityMode
Declaration
public CompatibilityMode CompatibilityMode { get; set; }
Property Value
CreatedTimestamp
Declaration
public DateTime? CreatedTimestamp { get; }
Property Value
Description
Declaration
public string Description { get; set; }
Property Value
EstimatedSize
Declaration
public string EstimatedSize { get; }
Property Value
ID
Declaration
public string ID { get; set; }
Property Value
IsRemoved
Declaration
[Browsable(false)]
public bool IsRemoved { get; }
Property Value
LastProcessed
Declaration
public DateTime? LastProcessed { get; }
Property Value
LastSchemaUpdate
Declaration
public DateTime? LastSchemaUpdate { get; }
Property Value
LastUpdate
Declaration
public DateTime? LastUpdate { get; }
Property Value
Model
Declaration
[Browsable(false)]
public Model Model { get; }
Property Value
Name
Declaration
public string Name { get; set; }
Property Value
ObjectType
Declaration
[Browsable(false)]
public ObjectType ObjectType { get; }
Property Value
ServerName
Declaration
public string ServerName { get; }
Property Value
ServerVersion
Declaration
public string ServerVersion { get; }
Property Value
TOMDatabase
Declaration
[Browsable(false)]
public Database TOMDatabase { get; }
Property Value
Type |
Description |
Database |
|
Version
Declaration
public long? Version { get; }
Property Value
Visible
Declaration
public bool Visible { get; set; }
Property Value
Methods
Browsable(string)
Declaration
public bool Browsable(string propertyName)
Parameters
Type |
Name |
Description |
string |
propertyName |
|
Returns
Editable(string)
Declaration
public bool Editable(string propertyName)
Parameters
Type |
Name |
Description |
string |
propertyName |
|
Returns
EvaluateDax(string)
Evaluates the specified DAX expression against the connected database and returns a data table or scalar value containing the result
Declaration
public object EvaluateDax(string dax)
Parameters
Type |
Name |
Description |
string |
dax |
|
Returns
ExecuteCommand(string, bool)
Executes the specified TMSL script against the connected instance of Analysis Services.
Declaration
public void ExecuteCommand(string tmslOrXmla, bool isXmla = false)
Parameters
Type |
Name |
Description |
string |
tmslOrXmla |
|
bool |
isXmla |
|
ExecuteDax(string)
Executes the specified DAX query against the connected database and returns a data set containing the result
Declaration
public DataSet ExecuteDax(string dax)
Parameters
Type |
Name |
Description |
string |
dax |
|
Returns
ExecuteReader(Server, string, string, string)
Declaration
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
ExecuteReader(string)
Executes the specified DAX query against the connected database and returns an AmoDataReader object that enumerates the result
Declaration
public IDataReader ExecuteReader(string dax)
Parameters
Type |
Name |
Description |
string |
dax |
|
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
PropertyChanging
Declaration
public event PropertyChangingEventHandler PropertyChanging
Event Type
Implements
Extension Methods