Error 3032 during EF 4.0 validation

Posted by Mohammadreza on Stack Overflow See other posts from Stack Overflow or by Mohammadreza
Published on 2010-06-10T14:31:17Z Indexed on 2010/06/10 14:32 UTC
Read the original article Hit count: 246

Filed under:

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.

© Stack Overflow or respective owner

Related posts about entity-framework-4