Using the [NotMapped] attribute to exclude Enum properties

Akkiraju Ivaturi Sep 03, 2012
OData does not currently support enum types, and WCF Data Services throws an unclear exception when using the EF provider with a model that has an enum property. Mark the property with a [NotMapped] attribute to get around this limitation.
  • 0
  • 0
  • 1927
OData does not currently support enum types, and WCF Data Services throws an unclear exception when using the EF provider with a model that has an enum property. Mark the property with a [NotMapped] attribute to get around this limitation.

Akkiraju Ivaturi

I am a Microsoft Programmer, Architect and blogger. I love resolving complex issues with more than  a decade of  development and software architecture experience. You can follow my blog ilovemicrosoft.blogspot.... Read more

COMMENT USING