public FEE_SETTING_UPFRONT_ONLEVEL NewUpFrontLevel() { FEE_SETTING_UPFRONT_ONLEVEL NewData = new FEE_SETTING_UPFRONT_ONLEVEL(); NewData.FES_ID = this.FES_ID; NewData.DataStatus = EnumDataStatus.NewData; NewData.SettingOwner = this; this.SettingUpFrontLevels.Add(NewData); return(NewData); }
public FeeUpFrontReward NewLevelDetail(FEE_SETTING_UPFRONT_ONLEVEL settingLevel) { var newLevel = new FeeUpFrontReward(); newLevel.FUM_ID = this.FUM_ID; newLevel.OfUpFront = this; newLevel.LEVEL = settingLevel.LEVEL; newLevel.RATE_USED = settingLevel.RateCalculated; this.OnLevelDetails.Add(newLevel); return(newLevel); }