Conventions for joins in Entity Framework 6.1.0 Code First
问题 I believe my question is simple (not sure if the answer is as well): Does anybody know how to force Entity Framework to use "INNER JOIN" as default convention, instead of "LEFT OUTER JOIN"? 回答1: If you want to enforce inner or outer joins explicitly you can always use the Join or GroupJoin methods, respectively. (Or the comprehensive equivalents join and join ... into ). But, generally speaking, in LINQ statements you should avoid using explicit join statements. Use navigation properties