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

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

Postby Shuzi » Wed 18 Aug 2010 13:29

entity.Name="";

ctx.SaveChange();

raise a error
why?
Shuzi
 
Posts: 2
Joined: Wed 18 Aug 2010 13:15

Postby LordFjord » Thu 19 Aug 2010 06:50

Hi,
you have probably similar problems as I have (see my post on it here).

Does the Name column of your entity allow nulls?
LordFjord
 
Posts: 18
Joined: Thu 22 Apr 2010 07:55

Postby AndreyR » Thu 19 Aug 2010 12:22

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.
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16


Return to dotConnect for Oracle