views:

134

answers:

0

Hi guys.

I have a table that has a column called "rowguid" with default value of newguid(). After I delete the generated property in the Entity Framework 4.0 designer, whenever I try to build or validate the model I receive the following error message.

Error 3023: Problem in mapping fragments starting at line 1460:Column People.rowguid in table People must be mapped: It has no default value and is not nullable.

It's an obvious error message but the problem is that the column HAS default value.

Does anyone knows what the problem is?

Thanks.