Jump to: navigation, search

Difference between revisions of "UBIK Console"


Line 1: Line 1:
The {{UBIK}} Console project allows a user to interact with UBIK via C# code.  
+
The {{UBIK}} Console project allows a user to interact with UBIK via C# code.
  
 
== Concept ==
 
== Concept ==
These scripts can be either loaded from file or directly typed into a console window.
+
C# code will be interpreted like script code. This script can be either loaded from file and executed at start up or directly typed into a console window.
  
 
== Example using Script file ==
 
== Example using Script file ==
 +
In order to execute a C# script file using the {{UBIK}} Console you need execute the UBIK.Console.exe using the ''-cmdfile'' parameter:
 +
{{{
 +
UBIK.Console.exe  -cmdfile "\\PathToScript\script.txt" -connectionstring "Data Source = ...; Initial Catalog = ...; User ID = ...; Password = ..."
 +
}}}
 +
 +
===

Revision as of 12:51, 16 April 2018

The UBIK® Console project allows a user to interact with UBIK via C# code.

Concept

C# code will be interpreted like script code. This script can be either loaded from file and executed at start up or directly typed into a console window.

Example using Script file

In order to execute a C# script file using the UBIK® Console you need execute the UBIK.Console.exe using the -cmdfile parameter: {{{ UBIK.Console.exe -cmdfile "\\PathToScript\script.txt" -connectionstring "Data Source = ...; Initial Catalog = ...; User ID = ...; Password = ..." }}}

=