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