I have a LINQ-2-Entity query builder nested in various Where clauses depending on a rather complex search form. Works great so far.
Now I need to use the SQL Server full-text search index in some of my queries. Is it possible to add a search query directly to the LINQ query and get a rating as a selectable property?
If not, I can write a stored procedure to load a list of all line identifiers that match the full-text search criteria, and then use the LINQ-2-Entity query to load detailed data and evaluate other optional filter criteria in a loop per line. That would, of course, be a very bad idea in terms of performance.
Another option would be to use a stored procedure to insert all row identifiers matching the full-text search into the temporary table, and then include the LINQ query in the temporary table. Question: how to join a temporary table in a LINQ query, since it cannot be part of an entity model?
source share