How to implement search functionality in C#/ASP.NET MVC

前端 未结 7 2052
执笔经年
执笔经年 2021-02-02 01:54

I am developing an ASP.NET MVC 3 application using C# and Razor.

I have a search form that looks like this: \"searc

7条回答
  •  执念已碎
    2021-02-02 02:17

    We started out resolving similar queries against our Entity Framework model using dynamic linq queries. However, our attempts to generalize query generation resulted in bad performance due to EF being confused by the resulting complex expressions, so in the end horrible SQL was produced.

    We resorted to Entity SQL.

提交回复
热议问题