MySql.Data.Entity.Tests.JoinTests.JoinOnRightSideAsDerivedTable C# (CSharp) Method

JoinOnRightSideAsDerivedTable() private method

private JoinOnRightSideAsDerivedTable ( ) : void
return void
    public void JoinOnRightSideAsDerivedTable()
    {
      using (testEntities context = new testEntities())
      {
        var q = from child in context.Children
                join emp in context.Employees
                on child.EmployeeID equals emp.Id
                where child.BirthWeight > 7
                select child;
        string sql = q.ToTraceString();
        CheckSql(sql, SQLSyntax.JoinOnRightSideAsDerivedTable);

        foreach (Child c in q)
        {
        }
      }
    }