Ejemplo n.º 1
0
 internal StudentEntity CreateValidEntity(int individualId)
 {
     return(new StudentEntity
     {
         Id = individualId,
         HighSchoolName = TestDataHelper.BuildNameString(40),
         HighSchoolCity = TestDataHelper.BuildNameString(40),
         HighSchoolState = TestDataHelper.BuildNameString(2),
     });
 }
Ejemplo n.º 2
0
 internal IndividualEntity CreateValidEntity()
 {
     return(new IndividualEntity
     {
         LastName = TestDataHelper.BuildNameString(150),
         FirstName = TestDataHelper.BuildNameString(),
         MiddleName = TestDataHelper.BuildNameString(),
         Suffix = TestDataHelper.BuildNameString(),
         DateOfBirth =
             TestDataHelper
             .BuildSqlDateTime(DateTime.Today.AddYears(-26), DateTime.Today.AddYears(-18))
             .Value
             .Date,
     });
 }