0
如何在我們調用webservice調用時插入連接內容?如何調用SvcClient中的內連接?
SELECT
distinct [COMMITTEE_MAST_CUST]
FROM [PDEV].[dbo].[COM_COMMITTEE_MEMBER] cc Inner join CUSTOMER c
on c.MASTER_CUSTOMER_ID = cc.COMMITTEE_MAST_CUST
where MEMBER_MAST_CUST = '0827857' and cc.END_DATE > GETDATE()
and c.CUSTOMER_CLASS_CODE IN ('SECTION_OFFICER','CHAPTER_OFFICER')
但現在現在正在做這個不知道在哪裏使用上面的查詢來加入連接。
SvcClient.Client.Context.ComCommittees.Where(x => x.MemberMasterCustomer
== masterCustomerId && x.EndDate > DateTime.Today.AddMonths(-3)).ToList();
這個c.CUSTOMER_CLASS_CODE IN('SECTION_OFFICER','CHAPTER_OFFICER') – James123
&& [「SECTION_OFFICER」,「CHAPTER_OFFICER」]。包含(customer.CUSTOMER_CLASS_CODE) – Chris