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

Closed Issue: Disable base type ID check in queryable mode [569]

$
0
0
If user has model type like following:<br /><br />public class BaseEntity<br />{<br />public string Name { get; set;}<br />}<br />public class Product : BaseEntity<br />{<br />public int ProductID { get; set; }<br />}<br /><br />You can't query on Product as it defines primary key in derived type instead of base type.<br /><br />Since it's unnecessary to have ID property for queryable attribute to work, why we need this check on base type? We'd better disable the check to make query composition to be more flexible on different user scenarios.
Comments: Verified

Viewing all articles
Browse latest Browse all 7215

Trending Articles



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