Exemplo n.º 1
0
 public void AddToEngineMaintainPlans(EngineMaintainPlanDTO engineMaintainPlanDTO)
 {
     base.AddObject("EngineMaintainPlans", engineMaintainPlanDTO);
 }
Exemplo n.º 2
0
 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;
 }