예제 #1
0
 public Person(int id, string firstName, string lastName, string email, DateTime birthDate, string location, PersonAddress address, decimal salary, string favoriteColor)
 {
     Id            = id;
     FirstName     = firstName;
     LastName      = lastName;
     Email         = email;
     BirthDate     = birthDate;
     Location      = location;
     Address       = address;
     Salary        = salary;
     FavoriteColor = favoriteColor;
 }
예제 #2
0
 public Person(int id, string firstName, string lastName, string email, DateTime birthDate, string location, PersonAddress address, decimal salary, string favoriteColor)
 {
     Id = id;
     FirstName = firstName;
     LastName = lastName;
     Email = email;
     BirthDate = birthDate;
     Location = location;
     Address = address;
     Salary = salary;
     FavoriteColor = favoriteColor;
 }