Convert string to double using LINQ query and get data
data1 => string type
data2 => double type
Query :
var query = get to db
query= query.Where(W => double.Parse(W.data1) >= W.data2).ToList();
Error :
"LINQ to Entities does not recognize the method 'Double ToDouble(System.String)' method, and this method cannot be translated into a store expression."