ResultData = db.Students.Include(x => x.Parents) .Include(xx => xx.Trips) .Where(x => x.UserId == User_Id) .Select(x => x.StudentName).ToList();
select st.Id,StudentName,st.BusId,lat_long,pa.PhoneNumber1, pa.PhoneNumber2 ,pa.PhoneNumber3 image from Students st join Parents pa on pa.Id = st.ParentId join Trips tr on tr.StudentId=st.Id where tr.Destination ='home' and tr.BusId =7
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)