Ejemplo n.º 1
0
 private void InitRandomValues()
 {
     Specialization = RandomValueGenerator.GetEnumRandomValue <ArchitectureTypeEnum>();
     Name           = RandomValueGenerator.GetEnumRandomValue <NameEnum>().ToString();
     Surname        = RandomValueGenerator.GetEnumRandomValue <SurnameEnum>().ToString();
     BirthDate      = RandomValueGenerator.GetRandomBirthDate();
     Phone          = RandomValueGenerator.GetPhoneNumber();
     ContractId     = new Random().Next();
     CanSupervise   = new Random().Next() % 2 == 0;
     Pesel          = RandomValueGenerator.GetPesel();
 }