I have a Class see below, when i am trying to query it from another page it not linking e.g. if i put "var Notes = HandhedNotes.GetNotesByLinkIDJoin();" when i look at Notes theres not links there. I think its due to the IQuerable maybe I should be using something elese??
namespace WebSys { public partial class HandheldNote { public static IQueryable GetNotesByLinkIDJoin() { WebSysDataContext db = new WebSysDataContext(Contexts.WEBSYS_CONN()); var Note = from x in db.HandheldNotes join t in db.Employees on x.By equals t.EmployeeNo orderby x.DateAdded select new { DateRaised = x.DateAdded, Note = x.Note, TypeID = x.TypeID, EmployeeID = t.Forenames + " " + t.Surname }; return (IQueryable)Note; } } }