Ejemplo n.º 1
0
 public ReportType(string s)
 {
     if (!string.IsNullOrEmpty(s))
     {
         string[] zzz = s.Split('-');
         Name = (ReportNameEnum)Enum.Parse(typeof(ReportNameEnum), zzz[0]);
         if (zzz.Length > 1)
         {
             RegistReports = new EFSeriousStringCollection(zzz[1].Split(',').ToList());
         }
     }
 }
Ejemplo n.º 2
0
 public void SetChildReports(List <string> ids)
 {
     RegistReports = new EFSeriousStringCollection(ids);
 }
Ejemplo n.º 3
0
 public ReportType(ReportNameEnum name, List <string> ids)
 {
     Name          = name;
     RegistReports = new EFSeriousStringCollection(ids);
 }
Ejemplo n.º 4
0
 public ReportType(ReportNameEnum name, List <ReportTypeItem> items)
 {
     Name          = name;
     RegistReports = new EFSeriousStringCollection(items.Select(x => x.ID).ToList());
 }
Ejemplo n.º 5
0
 public ReportType()
 {
     Name          = ReportNameEnum.职业经理版本;
     RegistReports = new EFSeriousStringCollection(new List <string>());
 }