public AsslsetupAdapter(IProgressConnection connection) : base(connection) { try { this.proxyAppObject = new SLProxyAppObject(connection.Connection); this.pdsContext = new pdsContextDataSet(); this.OnCreated(); } catch (Exception ex) { NLogLogger.ErrorException("Failed in adapter ", ex); ErrorReportingHelper.ReportProgramErrors($"Error in AsslsetupAdapter constructor - {ex.Message}"); } }
public SlspAdapter(IProgressConnection connection) : base(connection) { try { this.proxyAppObject = new SLProxyAppObject(connection.Connection); this.pdsContext = new pdsContextDataSet(); this.dataSet = new pdsslspDataSet() { DataSetName = DataSetName }; this.slspTableControlKey = this.dataSet.ttblslsp.GetTableControlParametersKey(); if (!this.tempTableControlParameters.ContainsKey(this.slspTableControlKey)) { this.CreateTableControlParameters(this.slspTableControlKey); } this.OnCreated(); } catch (Exception ex) { NLogLogger.ErrorException("Failed in adapter ", ex); ErrorReportingHelper.ReportProgramErrors($"Error in SlspAdapter constructor - {ex.Message}"); } }