阅读背景:

LINQ to SQL -如何高效地做一个或一个或搜索多个标准。

来源:互联网 

I have an ASP.NET MVC site (which uses Linq To Sql for the ORM) and a situation where a client wants a search facility against a bespoke database whereby they can choose to either do an 'AND' search (all criteria match) or an 'OR' search (any criteria match). The query is quite complex and long and I want to know if there is a simple way I can make it do both without having to have create and maintain two different versions of the query.I have an ASP.NET MVC site (which uses Linq To




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: