Showing results for OData 101 - OData

Aug 29, 2012
0
0

OData 101: Bin deploying WCF Data Services

DB Blogs DB Blogs

TL;DR: If you’re bin-deploying WCF Data Services you need to make sure that the .svc file contains the right version string (or no version string). The idea for this post originated from an email I received yesterday. The author of the email, George Tsiokos (@gtsiokos), complained of a bug where updating from WCF Data Services 5.0 to 5.0.1 broke...

WorkaroundsOData 101
Aug 29, 2012
0
0

OData 101: Using the [NotMapped] attribute to exclude Enum properties

DB Blogs DB Blogs

TL;DR: 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. In today’s OData 101, we’ll take a look at a problem you might run into if you have an Entity ...

How ToSamplesWorkarounds

Feedback