What are valid primitive properties in Entity Framework Code First?

Viewed 5000

When I try to map a column to a char data type in my model class I get an error:

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.

What are the valid primitive types for EF Code First?

1 Answers
Related