Locked Left Outer Join in Linq to DataSet

  • 18 апреля 2012 г. 6:14
     
      С кодом
    var query = from e in Employee
                        join s in Sanc
                        on e.Field<long>("eCol1") equals s.Field<long>("sCol1") into empSan
                        select new
                        {
                            EName = e["eCol2"],
                            SancName = empSan
                        };

    I am getting the output as:-

          EName                                                   SancName                                               

    <Steve Smith> <System.Linq.Lookup`2+Grouping[System.Int64,System.Data.DataRow]>

    How to get the correct column value from Sanc table instead of this?

Все ответы