我对条款有多重条件提出疑问。
SELECT *
FROM
CATALOGITEM with (nolock) INNER JOIN CATALOG with (nolock) ON
CATALOGITEM.catalog_id = CATALOG.catalog_id and not(catalog.catalog_id = 21) AND NOT(catalog.catalog_id = 20)
INNER JOIN PRODUCT with (nolock) ON
CATALOGITEM.s_num = PRODUCT .s_num
LEFT OUTER JOIN PRODUCT_DETAIL with (nolock) ON
PRODUCT_DETAIL.s_num = PRODUCT.s_num
WHERE
(
CATALOGITEM.publish_code = upd OR
CATALOG_ITEM.publish_code = ins OR
PRODUCT.publish_code = upd OR
PRODUCT.publish_code = ins
)
and
(CATALOG.unit_id = bu.unit_id)
如何在LINQ中撰写。
请提出咨询意见。