OzZy_M

How to get all Solutions within a department

Feb 15th, 2012
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.40 KB | None | 0 0
  1.           var Query = (
  2.             from d in Context.Departments
  3.             from s in Context.SolutionDepartments
  4.             from c in Context.DepartmentContactBridges
  5.             where d.DepartmentID == s.DepartmentID && d.DepartmentID == c.DepartmentID && d.Active == true
  6.             select new
  7.             {
  8.               d.DepartmentID, d.DepartmentName, s.SolutionID
  9.             }
  10.           );
Advertisement
Add Comment
Please, Sign In to add comment