次のSQLをラムダ式に変換する方法がわかりません。私のデータベースは参照整合性とテーブル Content_Training に関連するテーブル Content を 1 対多の関係で使用しています (1 つのコンテンツに多くの content_training を含めることができます)。
select c.ContentId, c.Name, ct.TrainingTypeId
from dbo.Content c left join dbo.Content_Training ct on c.ContentId = ct.ContentId
where c.PublishDate is not null
order by ct.TrainingTypeId, c.Name