|
-
Jun 20th, 2012, 10:06 PM
#1
[RESOLVED] Entity Framework: saving empty string as dbnull?
I'm using EntityFramework 4.3 Code First. How can I save an empty string value as NULL in the database? EF is throwing a System.Data.Entity.Validation.DbEntityValidationException whenever I attempt to save an entity with a null string value for one of it's properties.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|