public AssainquiryAdapter(IProgressConnection connection) : base(connection) { try { this.proxyAppObject = new SAProxyAppObject(connection.Connection); this.pdsContext = new pdsContextDataSet(); this.OnCreated(); } catch (Exception ex) { NLogLogger.ErrorException("Failed in adapter ", ex); ErrorReportingHelper.ReportProgramErrors($"Error in AssainquiryAdapter constructor - {ex.Message}"); } }
public SasglAdapter(IProgressConnection connection) : base(connection) { try { this.proxyAppObject = new SAProxyAppObject(connection.Connection); this.pdsContext = new pdsContextDataSet(); this.dataSet = new pdssasglDataSet() { DataSetName = DataSetName }; this.sasglTableControlKey = this.dataSet.ttblsasgl.GetTableControlParametersKey(); if (!this.tempTableControlParameters.ContainsKey(this.sasglTableControlKey)) { this.CreateTableControlParameters(this.sasglTableControlKey); } this.OnCreated(); } catch (Exception ex) { NLogLogger.ErrorException("Failed in adapter ", ex); ErrorReportingHelper.ReportProgramErrors($"Error in SasglAdapter constructor - {ex.Message}"); } }