関連フィールド (外部キー CountryId) を持つ 2 つのビジネス オブジェクトがある場合、従業員クラスのリストを表示するときに、CountryId の代わりに CountryName を表示するにはどうすればよいですか?
public class Employee
{
public int Id { get; set; }
public string FirstName { get; set; }
public string FamilyName { get; set; }
public int CountryId { get; set; }
}
public class Country
{
public int Id { get; set; }
public string CountryName { get; set; }
}