public List <Base.RefCode.RefCodeData> GetChildRefCodeData(string _refCodeName, string _fatherCode) { try { OraRefTableFactory _of = new OraRefTableFactory(); return(_of.GetChildRefCodeData(_refCodeName, _fatherCode)); } catch (Exception ex) { string _error = string.Format("取代码表子级记录[RefCodeName={1} FatherCode={2}]时发生错误!{0}", ex.Message, _refCodeName, _fatherCode); //SystemLogWriter.WriteLog(_error, System.Diagnostics.EventLogEntryType.Error); return(new List <Base.RefCode.RefCodeData>()); } }
public Base.RefCode.RefCodeData GetRefCodeByCode(string _refCodeName, string _value) { try { OraRefTableFactory _of = new OraRefTableFactory(); return(_of.GetRefCodeByCode(_refCodeName, _value)); } catch (Exception ex) { string _error = string.Format("通过代码值取代码数据记录[RefCodeName={1} Code={2}]时发生错误!{0}", ex.Message, _refCodeName, _value); //SystemLogWriter.WriteLog(_error, System.Diagnostics.EventLogEntryType.Error); return(null); } }
public Base.RefCode.RefCodeTablePropertie GetRefCodePropertie(string _refCodeName) { try { OraRefTableFactory _of = new OraRefTableFactory(); return(_of.GetRefCodePropertie(_refCodeName)); } catch (Exception ex) { string _error = string.Format("取代码表属性定义[RefCodeName={1}]时发生错误!{0}", ex.Message, _refCodeName); //SystemLogWriter.WriteLog(_error, System.Diagnostics.EventLogEntryType.Error); return(null); } }