【发布时间】:2016-11-09 13:33:33
【问题描述】:
select
pm.GenerationID, srv.ServiceID, srv.ServiceName, srv.ServiceDescription,
srv.IsProPack, pm.MonthlyPrice, pm.AnnualPrice, ss.freeExpirationDate
from
tbl_BILLING_PricingModels pm
inner join tbl_BILLING_Services srv on pm.ServiceID = srv.ServiceId
left join tbl_BILLING_SubscribedServices ss on srv.ServiceID = ss.ServiceId
and ss.ClientId='3B345E8B-3E6C-40E6-A4B8-E6371B717018'
where
pm.GenerationID = 5 order by srv.ServiceID
如何编写 linq 查询?
【问题讨论】:
标签: asp.net entity-framework linq linq-to-entities