omidh2007
چهارشنبه 02 آذر 1390, 19:18 عصر
سلام . توی Linq to Entitiy ، یه یه باگ هستش که
int.parse , int32.parse , convert.Toint32 رو توی Query قبول نمیکنه .
حتی به صورت Lambda Expression . کسی به این مشکل برخورده تا حالا و راه حلی غیر از استفاده از
یه متغیر temp داره ؟
این هم متن ارور :
LINQ to Entities does not recognize the method 'Int32 Parse(System.String)' method, and this method cannot be translated into a store expression.
int.parse , int32.parse , convert.Toint32 رو توی Query قبول نمیکنه .
حتی به صورت Lambda Expression . کسی به این مشکل برخورده تا حالا و راه حلی غیر از استفاده از
یه متغیر temp داره ؟
این هم متن ارور :
LINQ to Entities does not recognize the method 'Int32 Parse(System.String)' method, and this method cannot be translated into a store expression.