Joining two tables using LINQ

后端 未结 6 1170
一向
一向 2020-12-19 11:26

I have two tables:

PlanMaster (PlanName, Product_ID)

and

ProductPoints (Entity_ID, Product_ID, Comm1, Com

6条回答
  •  醉酒成梦
    2020-12-19 11:43

    var td =
        from s in cv.Entity_Product_Points
        join r in dt.PlanMasters on s.Product_ID equals r.Product_ID
        where s.Entity_ID == getEntity
        select s;
    

    = not equal to ==

提交回复
热议问题