I have a column in a table that is :
QuestionDescription nchar(150)
The name of the table is Questions. When I put in the entity Questions an empty string, meaning:
Questions questionObj = new Questions();
questionObj.QuestionDescription = string.Empty();
Entity Framework saves a string of 150 whitespaces in the database.
Why?
I tried to put an empty string, but it always puts 150 whitespaces.
Any idea why?
Thanks