开发者

| operator operation?

开发者_开发知识库 Merged with | operator operation in linq?.

(pipe) operator in linq?i want to know operation of operator(|).i want to check multiple columns in different table.In my scenario only single table contain value for that perticular column.

my code:

&& swr.Date_Of_Event.Date < DateTime.Today.Date | spr.Date_Of_Event.Date < DateTime.Today.Date | scr.Date_Of_Event.Date < DateTime.Today.Date | smr.Date_Of_Event.Date < DateTime.Today.Date

In this scenario only one table will contain date value others will contain dault values in their respected columns.

The above condition is not working,it takes default value.

what condition can i use to get correct value?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜