How does the following sql statement translate to a linq query?
select ID, Price, dbo.fGetText(DescriptionID, defaultLanguage, currentUserLanguage) from Products
UDF fGetText is quite substantial and is used throughout the code base, so it needs to be encapsulated (like UDF or otherwise, possibly a Linq expression).
Extra round trips to the database server are not an option. There should be only one query retrieving 3 fields.
Many thanks for your help. It is very useful.
linq-to-sql
Florian
source share