public AssmsetupAdapter(IProgressConnection connection) : base(connection) { try { this.proxyAppObject = new SMProxyAppObject(connection.Connection); this.pdsContext = new pdsContextDataSet(); this.OnCreated(); } catch (Exception ex) { NLogLogger.ErrorException("Failed in adapter ", ex); ErrorReportingHelper.ReportProgramErrors($"Error in AssmsetupAdapter constructor - {ex.Message}"); } }
public SmsehAdapter(IProgressConnection connection) : base(connection) { try { this.proxyAppObject = new SMProxyAppObject(connection.Connection); this.pdsContext = new pdsContextDataSet(); this.dataSet = new pdssmsehDataSet() { DataSetName = DataSetName }; this.smsehTableControlKey = this.dataSet.ttblsmseh.GetTableControlParametersKey(); if (!this.tempTableControlParameters.ContainsKey(this.smsehTableControlKey)) { this.CreateTableControlParameters(this.smsehTableControlKey); } this.OnCreated(); } catch (Exception ex) { NLogLogger.ErrorException("Failed in adapter ", ex); ErrorReportingHelper.ReportProgramErrors($"Error in SmsehAdapter constructor - {ex.Message}"); } }