Resource

Using the [NotMapped] attribute to exclude Enum properties

Sep 03, 2012 Resources | .NET 4.5
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
  • 1739
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 ilov...

  • 82rank
  • 827K readers
  • 1times
COMMENT USING

PREMIUM SPONSORS

Hire Mobile & Web Developer on demand. 100% satisfaction. Try for 1 week or Money Back. Local and remote developers available all over USA.

TOP RESOURCES

MOST LIKED RESOURCES