コード例 #1
0
 public MaternityBenefitPerson(Storage.EFModels.Person dbModel)
 {
     Id = dbModel.Id;
     UnemploymentRegion = new UnemploymentRegion(dbModel.UnemploymentRegion);
     Age          = dbModel.Age;
     Flsah        = dbModel.Flsah;
     WeeklyIncome = dbModel.WeeklyIncomes.Select(x => new WeeklyIncome(x)).ToList();
 }
コード例 #2
0
 public MaternityBenefitPerson()
 {
     Id = new Guid();
     UnemploymentRegion = new UnemploymentRegion();
     Age          = 0;
     Flsah        = "";
     WeeklyIncome = new List <WeeklyIncome>();
 }