[Solved] Count linq statement with joins

[ad_1]

Got it. Thanks for the help guys.

var fullList= from session in mSessions
              join testRun in mTestRuns on session.Id equals testRun.SessionId
              where session.Value.Username.Team == "whatever"
              select new { testRun.Anything };

int count = fullList.Count();

[ad_2]

solved Count linq statement with joins