Class Scripter
Various methods for scripting TOM objects into TMSL
Assembly: TOMWrapper.dll
Syntax
public static class Scripter
Methods
ScriptAlter(TabularNamedObject)
Declaration
public static string ScriptAlter(TabularNamedObject obj)
Parameters
Returns
ScriptCreate(TabularNamedObject)
Declaration
public static string ScriptCreate(TabularNamedObject obj)
Parameters
Returns
ScriptCreateOrReplace(Database)
Scripts the entire database as a CreateOrReplace
Declaration
public static string ScriptCreateOrReplace(Database database)
Parameters
Returns
ScriptCreateOrReplace(TabularNamedObject)
Scripts the object as a CreateOrReplace TMSL
Declaration
public static string ScriptCreateOrReplace(TabularNamedObject obj)
Parameters
Returns
ScriptDelete(TabularNamedObject)
Declaration
public static string ScriptDelete(TabularNamedObject obj)
Parameters
Returns
ScriptMergePartitions(IList<Partition>)
Scripts a Merge Partition TMSL
Declaration
public static string ScriptMergePartitions(IList<Partition> obj)
Parameters
Returns
ScriptRefresh(IEnumerable<TabularNamedObject>, RefreshType)
Generates a Refresh TMSL script for the specified objects
Declaration
public static string ScriptRefresh(IEnumerable<TabularNamedObject> objects, RefreshType refreshType = RefreshType.Automatic)
Parameters
Returns
ScriptRefresh(TabularNamedObject, RefreshType)
Generates a Refresh TMSL script for the specified object
Declaration
public static string ScriptRefresh(TabularNamedObject obj, RefreshType refreshType = RefreshType.Automatic)
Parameters
Returns
ScriptTranslations(Model, IEnumerable<Culture>)
Declaration
public static string ScriptTranslations(Model model, IEnumerable<Culture> translations)
Parameters
Returns