views:

21

answers:

1

Can someone explain why data binding against a nullable property in an ADO Data Entity Model does not seem to work. I have a decimal field named "Weight" that when it is set to allow nulls in the database, I can not seem to change the value on a windows form. However if I turn off the allow nulls in the database and update the model, the databinding works as i expect. Looking at the Designer.cs file the only difference I can tell is the underlying value seems to be a decimal versus a decimal?.

A: 

It may be related to this nasty bug (there was a microsoft connect bug report, but the EF team apparently deleted all the bug reports...)

BlueRaja - Danny Pflughoeft
I think you are correct, thanks for the link.
Bob Cummings