Null Column

Dec 21, 2011 at 12:02 AM

If I have a column that has either a value or null (by default), what should be in the attribute? I tried AllowsNulls but it doesn't work.

Dec 21, 2011 at 12:04 AM

Can you show the Entity definition?  Setting AllowsNull should be all that is necessary (in fact it's the default for nullable Fields).

Dec 21, 2011 at 12:11 AM

Thanks for your quick reply. Yeah I solved it by setting the Entity's property to nullable type.