Page 1 of 1

how to update property value to empty string (not NULL)?

Posted: Wed 18 Aug 2010 13:29
by Shuzi
entity.Name="";

ctx.SaveChange();

raise a error
why?

Posted: Thu 19 Aug 2010 06:50
by LordFjord
Hi,
you have probably similar problems as I have (see my post on it here).

Does the Name column of your entity allow nulls?

Posted: Thu 19 Aug 2010 12:22
by AndreyR
Shuzi, could you please specify the error message and provide some information about the scenario you are using?
LordFjord, I have replied to you here.