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); }
public Context(string host, string mandant, ushort port, string password) { connection = new EPIConnection(host, mandant, port, password); }