Last year, Scott Guthrie stated “You can actually override the raw SQL that LINQ to SQL uses if you want absolute control over the SQL executed”, but I can’t find documentation
You want to translate an expression tree into SQL... You need to implement your own IQueryProvider
IQueryProvider Reference How To
MSDN How To