Bloqueada Left Outer Join in Linq to DataSet

  • miércoles, 18 de abril de 2012 6:14
     
      Tiene código
    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?

Todas las respuestas