I'm trying to output a simple calculation to a crystal reports viewer in my WPF application. I'm currently getting "The specified type member 'StockSaleValue' is not supported in LINQ to Entities. Only initializers, entity members, and entity navigation properties are supported."
Update
Fixed with
using (CrystalReportsTestEntities db = new CrystalReportsTestEntities())
{
var stocks = db.Stocks.ToList().Where(item => item.StockSaleValue > 5);
report.SetDataSource(stocks);
}