The ZeusInput object contains key/value pairs with any input provided by either the interface code segment, or the application.
For a list of all members of this type, see ZeusInput Members.
System.Object
Zeus.ZeusInput
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
The ZeusInput object is a data container, similar to a hashtable, that contains all of the input data for use in the template code. Along with the user supplied input, it contains application variables. The application variables MyGeneration populates before executing a template are the following:
| __version | The MyGeneration Application Version. |
| __defaultTemplatePath | The location of templates that should be displayed in the template browser. |
| __defaultOutputPath | The default output path. |
| __dbDriver | The default database driver. |
| __dbConnectionString | The default database connection string. |
| __domainOverride | True or false based on the Domain Override setting in the default Application Settings. |
| __dbTarget | The selected DB Target |
| __dbTargetMappingFileName | The DB Targets file path. |
| __dbLanguageMappingFileName | The Language Mapping file path. |
| __language | The selected language. |
| __userMetaDataFileName | The User Meta-Data file path. |
VBScript:
Dim databaseName
Dim tableNames
databaseName = input.Item("cmbDatabase")
Set tableNames = input.Item("lstTables")
JScript:
var databaseName = input.Item("cmbDatabase");
var tablenames = input.Item("lstTables");
CSharp:
string databaseName = input["cmbDatabase"].ToString();
ArrayList tablenames = input["lstTables"] as ArrayList;
Namespace: Zeus
Assembly: Zeus (in Zeus.dll)
ZeusInput Members | Zeus Namespace