Operators Not Working in LINQ
When using LINQ, not everything works as you may expect. Your custom methods in your code, for instance, do not work at all in a LINQ query. When the LINQ expressions are built, objects in LINQ have to map over to a valid C# or VB.NET operator so that it can be translated to a database call. So not all the commands in .NET may work in a LINQ query; I don't have a verified list.