I’m working with SQL trying to implement a Full-Text-Search. I noticed that there is no direct handling to Full-Text-Search in Linq.
I’ve read that I can use UDF that will return a table. I tried using that but EF doesn’t recognize my functions, although I did read somewhere that the new version of EF (4.2) should support UDF.
I also tried implementing a Custom Function through SSDL but the problem was I couldn’t keep filtering the query beyond the result line in linq, giving the error: the result of a query cannot be enumerated more than once.
Hope I was clear about my issue.
What do you think is the best approach I should use?
TVFs are not supported yet, it will come with .Net 4.5, but I think this might help you. Als you might consider other ORM just to get Full Text Search working (Linq2Sql maybe, it supports TVF).