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

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
Shuzi
Posts: 2
Joined: Wed 18 Aug 2010 13:15

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

Post by Shuzi » Wed 18 Aug 2010 13:29

entity.Name="";

ctx.SaveChange();

raise a error
why?

LordFjord
Posts: 18
Joined: Thu 22 Apr 2010 07:55

Post by 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?

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by 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.

Post Reply