3

In SQL, I have a decimal column:

enter image description here

Which I've mapped to an entity property in my edmx:

enter image description here

Frustratingly, I get an error when trying to save a value that does lie in this range:

Parameter value '164.2640000000' is out of range

Does anyone have any ideas why this is happening? The answers in this similar question are not much help, as I'm not using code first.

Community
  • 1
  • 1
Jonathan
  • 13,947
  • 17
  • 94
  • 123

1 Answers1

6

Oddly, doing another 'update from database' solved this issue.

Jonathan
  • 13,947
  • 17
  • 94
  • 123
  • 1
    Having the same issue with EF5, update from database. Don't see any poco classes changes, but the problem is gone. – L.T. Jul 16 '14 at 18:08