How tonner Join an UDF Function with parameters using SubSonic

subsonic

I need to query a table using FreeTextTable (because I need ranking), with SubSonic. AFAIK, Subsonic doesn't support FullText, so I ended up creating a simple UDF function (Table Function) which takes 2 params (keywords to search and max number of results).
Now, how can I inner join the main table with this FreeTextTable?
InlineQuery is not an option.
Example:

table ARTICLE with fields Id, ArticleName, Author, ArticleStatus.

The search can be done by one of more of the following fields: ArticleName (fulltext), Author (another FullText but with different search keywords), ArticleStatus (an int).

Actually the query is far more complex and has other joins (depending on user choice).

If SubSonic cannot handle this situation, probably the best solution is good old plain sql (so there would be no need to create an UDF, too).

Thanks for your help

ps: will SubSonic 3.0 handle this situation?

Best Answer

3.0 can do this for you but you'd need to make a template for it since we don't handle functions (yet) out of the box. I'll be working on this in the coming weeks - for now I don't think 2.2 will do this for you.