Exemple #1
0
 public void AddToUtilizationReports(UtilizationReportDTO utilizationReportDTO)
 {
     base.AddObject("UtilizationReports", utilizationReportDTO);
 }
Exemple #2
0
 public static UtilizationReportDTO CreateUtilizationReportDTO(int ID, global::System.Collections.ObjectModel.ObservableCollection<SubUtilizationReportDTO> firstSubReports, global::System.Collections.ObjectModel.ObservableCollection<SubUtilizationReportDTO> secondSubReports, global::System.Collections.ObjectModel.ObservableCollection<SubUtilizationReportDTO> thirdSubReports, global::System.Collections.ObjectModel.ObservableCollection<SubUtilizationReportDTO> forthSubReports)
 {
     UtilizationReportDTO utilizationReportDTO = new UtilizationReportDTO();
     utilizationReportDTO.Id = ID;
     if ((firstSubReports == null))
     {
         throw new global::System.ArgumentNullException("firstSubReports");
     }
     utilizationReportDTO.FirstSubReports = firstSubReports;
     if ((secondSubReports == null))
     {
         throw new global::System.ArgumentNullException("secondSubReports");
     }
     utilizationReportDTO.SecondSubReports = secondSubReports;
     if ((thirdSubReports == null))
     {
         throw new global::System.ArgumentNullException("thirdSubReports");
     }
     utilizationReportDTO.ThirdSubReports = thirdSubReports;
     if ((forthSubReports == null))
     {
         throw new global::System.ArgumentNullException("forthSubReports");
     }
     utilizationReportDTO.ForthSubReports = forthSubReports;
     return utilizationReportDTO;
 }