The error I get is this:
The 'SalesValue' property on 'ItemSale' could not be set to a 'Decimal' value.
You must set this property to a non-null value of type 'Single'.
But I already did:
[Table("ItemSales")]
public class ItemSale {
[Key]
public int ID { get; set; }
....
public Single SalesValue { get; set; }
}
Here is my LINQ, simple enough:
from x in database.ItemSales
select x
I am using Entity-Framework Code First
How do I solve this?