How to join with or condition? Cross Join is creating a IS NULL where clause
Basically I want to create an inner or join. In SQL: SELECT COUNT(*) FROM Discounts JOIN DiscountArticles ON Discounts.ID = DiscountArticles.Discount JOIN Articles ON (DiscountArticles.Article = Articles.ID OR DiscountArticles.ArticleGroup = Articles.ArticleGroup) This answer says, it’s not possible using entity framework, however we can use an cross join, which works fine on SQL: SELECT COUNT(*) AS… Read More How to join with or condition? Cross Join is creating a IS NULL where clause