public void AddToEngineMaintainPlans(EngineMaintainPlanDTO engineMaintainPlanDTO) { base.AddObject("EngineMaintainPlans", engineMaintainPlanDTO); }
public static EngineMaintainPlanDTO CreateEngineMaintainPlanDTO(int ID, int maintainPlanType, decimal dollarRate, global::System.Guid annualId, global::System.Collections.ObjectModel.ObservableCollection<EngineMaintainPlanDetailDTO> engineMaintainPlanDetails) { EngineMaintainPlanDTO engineMaintainPlanDTO = new EngineMaintainPlanDTO(); engineMaintainPlanDTO.Id = ID; engineMaintainPlanDTO.MaintainPlanType = maintainPlanType; engineMaintainPlanDTO.DollarRate = dollarRate; engineMaintainPlanDTO.AnnualId = annualId; if ((engineMaintainPlanDetails == null)) { throw new global::System.ArgumentNullException("engineMaintainPlanDetails"); } engineMaintainPlanDTO.EngineMaintainPlanDetails = engineMaintainPlanDetails; return engineMaintainPlanDTO; }