Esempio n. 1
0
 public Query(EPIConnection connection, Selection selection)
 {
     this.connection  = connection ?? throw new ArgumentNullException("connection");
     this.selection   = selection ?? throw new ArgumentNullException("selection");
     VariableLanguage = Language.English;
     ActionId         = connection.RegisterNewActionId();
     data             = new List <Record>();
     reader           = new DataCommandReader(selection.FieldList);
 }
Esempio n. 2
0
 public Context(string host, string mandant, ushort port, string password)
 {
     connection = new EPIConnection(host, mandant, port, password);
 }