重複の可能性:
エンティティへの linq がメソッドを認識しない
文字列が数字で始まるかどうかを確認しようとしています
var product09 = DataContext.Products.Where(x => Char.IsNumber(x.ProductName,0));
私も試しました
var product09 = DataContext.Products.Where(x => Char.IsNumber(x.ProductName[0]));
次のエラーが表示されます。
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)
助けていただけますか?