public void AddCharacteristic(long _ID, ExposureType _expType, double _tiv) { RITCharacteristic Char = new RITCharacteristic(_ID, _expType, _tiv); RiskCharacteristics.Add(Char); Char.ParentRITE = this; }
public double GetTIV(long RITCharID) { return(RiskCharacteristics.Where(ritChar => ritChar.ID == RITCharID).FirstOrDefault().TIV); }
public void AddCharacteristic(RITCharacteristic Char) { RiskCharacteristics.Add(Char); Char.ParentRITE = this; }