Bonjour,
Je suis débutant avec LINQ et j'aimerais savoir comment écrire la requête suivante avec LINQ to Entities:
Voir image en attache pour les tables.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6 SELECT Combination.PK_combinationId, Combination.FK_PlanId, Combination.FK_ProductId, Combination.isPrime, [Plan].PK_PlanId, [Plan].planName, Product.PK_ProductId, Product.productName, Product.price FROM Combination INNER JOIN [Plan] ON Combination.FK_PlanId = [Plan].PK_PlanId INNER JOIN Product ON Combination.FK_ProductId = Product.PK_ProductId WHERE ([Plan].PK_PlanId = 1)
merci
Partager