Il semble y avoir un bug avec la déclaration de jointure externe dans SubSonic 3, ou peut-être que c'est juste mon ignorance, mais les craps suivants sur:SubSonic OUTER JOIN
var Objeto = from t in Table1.All()
join su in table2.All() on t.Id equals su.Id
join tab2 in Table1.All() on t.PId equals tab2.Id into gj
from j in gj.DefaultIfEmpty()
select new
{
t.Field1,
SN = su.Field123,
PTN = (j == null ? null : j.FieldABC)
};
Avec:
The expression of type 'System.Linq.IQueryable` xxxx is not a sequence
Si je supprime la jointure externe cela fonctionne parfaitement ..... – hminaya