阅读背景:

LINQ to Objects:可能使用多个LIKE条件(OR或AND)进行查询?

来源:互联网 

We have a form that allows a user to filter a list with by typing in a textbox. We need to filter the list based on two fields. The FundName and the CompanyName. When the form loads I put the initial LINQ to SQL results into a list so that for every subsequent action (filter) the database is not hit. This speeds things up significantly (from roughly 400 milliseconds to under 6 milliseconds per filter action, like typing a character) and reduces DB chatter. We have a form that allows a user to filter a l




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

分享到: