Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Created Unassigned: Support System.ComponentModel.DataAnnotations.ComplexTypeAttribute in ODataConventionModelBuilder [1423]

$
0
0
The current model builder doesn't support classes annotated with the ComplexType attribute. When a user defines a class like the following

[ComplexType]
public class MyComplextype
{
public int Id { get; set; }
public string Value { get; set; }
}

The convention model builder treats it as an entity instead of as a complex type. The ideal behavior is that even if it has an Id property on it, we honor the complextype attribute treat it as a complex type.

Viewing all articles
Browse latest Browse all 7215

Trending Articles



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