I am trying to update an entity using Entity Framework 4.1 in my asp.net MVC 3 application but I am getting some errors on columns which I am not updating.
I have few columns which are not null in db; I am not updating them. When I do context.saveChanges, I am getting an error that the column can’t be null. How do I fix this?
You fix it by assigning values to fields that cannot be null.