Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/296.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 实体框架核心3-执行左外部联接_C#_Entity Framework Core - Fatal编程技术网

C# 实体框架核心3-执行左外部联接

C# 实体框架核心3-执行左外部联接,c#,entity-framework-core,C#,Entity Framework Core,我们最近将我们的项目从EF Core 2升级到了3。在升级后验证我们的应用程序时,以下代码行由于使用GroupJoin而引发错误 _context.Share .GroupJoin(_context.Slot, s => s.Id, sh => sh.SlotId, (s, sh ) => new { s, sh }) .ToListAsync(); 将引发以下错误 System.InvalidOperationException:支持处理LI

我们最近将我们的项目从EF Core 2升级到了3。在升级后验证我们的应用程序时,以下代码行由于使用GroupJoin而引发错误

_context.Share
        .GroupJoin(_context.Slot, s => s.Id, sh => sh.SlotId, (s, sh ) => new { s, sh })
        .ToListAsync();
将引发以下错误

System.InvalidOperationException:支持处理LINQ表达式“GroupJoinleft-OuterJoin”,当前不支持样本查询中的纯组联接-请参阅支持左外部联接,当前不支持样本查询中的纯组联接-请参阅