2011年10月18日

[EF4]Member Mapping is not specified. (How to change mapping type in an entity)

I got this error when modifying a property type of an entity from Int32 to Int64 in visual studio entity designer.

image

Solution : open .edmx in XML editor, find the property you want to change and specified desired data type in XML.

  1: <Property Name="REMOVE_QTY" Type="bigint" />

沒有留言:

Blog Archive

About Me