using System; using System.Collections; using System.Collections.Generic; namespace AIMSObjectQuery { internal partial class FactBloodGasAnalysisMap:IMap { private Dictionary dictionary = new Dictionary(); public FactBloodGasAnalysisMap() { dictionary.Add("id", "Id"); dictionary.Add("operationrecordid", "OperationRecordId"); dictionary.Add("recordtime", "RecordTime"); dictionary.Add("analysisresult", "AnalysisResult"); dictionary.Add("remark", "Remark"); dictionary.Add("bloodgastype", "BloodGasType"); dictionary.Add("isselected", "IsSelected"); dictionary.Add("operatorid", "OperatorId"); dictionary.Add("operatortime", "OperatorTime"); } #region IMap 成员 public string this[string propertyName] { get { try { return dictionary[propertyName.ToLower()]; } catch (KeyNotFoundException) { throw new Exception(propertyName + "属性不存在"); } } } #endregion } }