Is it possible to use custom method In query for example:
var result = from u in context.MyTable where MyMethod(u) == 10 select u;
Yes, but if you are using Linq-to-Sql - your method has to have special code to handle to SQL conversion.