Possible Duplicate:
linq to entities doesn't recognize a method
I am trying to check if a string starts with a number
var product09 = DataContext.Products.Where(x => Char.IsNumber(x.ProductName,0));
I also tried
var product09 = DataContext.Products.Where(x => Char.IsNumber(x.ProductName[0]));
I get the following error:
Boolean IsNumber(Char)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NotSupportedException: Boolean IsNumber(Char)
Can you please help?