Quantcast
Channel: ASP.NET MVC / Web API / Web Pages
Viewing all articles
Browse latest Browse all 7925

Created Issue: Set MaxDataServiceVersion to 3.0 in model builder [707]

$
0
0
If we don't do that, client code won't work for V3 features like collection property.

A workaround right now is to use following code:
var model = mb.GetEdmModel();
model.SetMaxDataServiceVersion(Version.Parse("3.0"));

We should set this value to 3.0 as default. With 3.0, all 2.0 and 1.0 can still work.

Viewing all articles
Browse latest Browse all 7925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>