I’m new to Entity Framework and for now I can load the parent by id.
But I want to access to the child property from my parent after I load the parent.
protected void getChild_Click(object sender, EventArgs e)
{
JeansEntities db = new JeansEntities();
Employe employe = db.Employes.SingleOrDefault(p => p.Id == 3);
uxCountry.Text = //(address.Country) Its the child of Employe, but I can acces by the parent
}

Thanks
You can achieve this by letting the query know that you also want the Address child. You can do this by using “eager loading.” This is done by the
Include("NavigationPropertyName")In order for this to work you must include a relationship between
EmployeandAddressesin the edm.