var studienummerQuery = from members in dbcontent.Medlemmer.Include("Retninger")
orderby members.Fornavn
select members;
foreach(var a in studienummerQuery)
{
Console.WriteLine(a);
}
Thats my code, wonder why it doesnt work..
My tables are:
Medlemmer
Retninger