If I have two business objects, with a related field (foreign key CountryId), how do I display the CountryName in place of the CountryId when I display a list of the employee class?
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; }
}