当我尝试将列映射到我的模型类中的char数据类型时,我会收到一个错误:
The property ‘[ColumnName]’ is not a
declared property on type ‘[ClassName]’.
Verify that the property has not been
explicitly excluded from the model by
using the Ignore method or
NotMappedAttribute data annotation.
Make sure that it is a valid primitive
property.
EF Code First的有效原始类型是什么?