Ignored LINQ test. This is fundamental test.

19 views
Skip to first unread message

mynkow

unread,
Oct 31, 2011, 9:03:09 AM10/31/11
to nhu...@googlegroups.com
I found that there is ignored test in LINQ. I need to make this one pass. Who can help me?

[Category("JOIN")]
        [Test(
            Description =
                "This sample shows how to get LEFT OUTER JOIN by using DefaultIfEmpty(). The DefaultIfEmpty() method returns null when there is no Order for the Employee."
            )]
        [Ignore("TODO left outer join")]
        public void DLinqJoin7()
        {
            var q =
                from e in db.Employees
                join o in db.Orders on e equals o.Employee into ords
                from o in ords.DefaultIfEmpty()
                select new {e.FirstName, e.LastName, Order = o};
 
            ObjectDumper.Write(q);
        }
Reply all
Reply to author
Forward
0 new messages