Answers for ".net entities query multiple join condition type inference"

C#
0

.net entities query multiple join condition type inference

var query = (from RR in context.TableOne
             from M in context.TableTwo 
             where RR.OrderedProductId == M.ProductID
                   || RR.SoldProductId == M.ProductID // Your join
             where RR.CustomerID == CustomerID 
                   && statusIds.Any(x => x.Equals(RR.StatusID.Value))
             select RR.OrderId).ToArray();
Posted by: Guest on November-17-2020

Code answers related to ".net entities query multiple join condition type inference"

C# Answers by Framework

Browse Popular Code Answers by Language