Code-First Entity Framework w/ Stored Procedure returning results from complex Full-text Searches
问题 I am looking for design advice for the following scenario: I have a code-first EF5 MVC application. I am building a full-text search function which will incorporate multiple weighted columns from many tables. As I cannot create view with an index from these tables (some of them contain text / binary columns), I have created a stored procedure which will output the ID of my object (eg. PersonID ) and the rank associated with that object based on the search terms. My current approach is to