0
var assignresult = (from i in _Objcontext.DistributorProductMappings
where i.ProductId == items.ProductID && i.DistributorId == items.DId && i.UpdatedDate == items.UpdatedDate
select (int.Parse(i.Purchases) + int.Parse(i.StockTakeback)).ToString()
).FirstOrDefault() ?? "0";
でこのステートメントをメソッドを認識しないLINQは失敗しconvertionsを働いていない方法
の
Convert.ToInt32()
どのようなエラーで失敗を使用して、この問題を修正するには? –{"メッセージ": "LINQ to Entitiesは、メソッドInt32 Parse(System.String)メソッド を認識せず、このメソッドをストア式に変換できません。"} –