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

What is the problem? Do you get any error message?

getting Endproject.Medlemmer as a return.
which is like Namespace.Tablename

fixed... needed to write a.(coloumn name)