Edited Issue: Disable base type ID check in queryable mode [569]
If user has model type like following:<br /><br />public class BaseEntity<br />{<br />public string Name { get; set;}<br />}<br />public class Product :...
View ArticleCommented Issue: System.Web.Http.OData: HTTP PATCH with Delta should allow...
This post focuses on the functionality of the TrySetPropertyValue method of the Delta class.When doing an http PATCH with the (very cool) Delta class, one can only update properties that are basic...
View ArticleEdited Issue: System.Web.Http.OData: HTTP PATCH with Delta should allow more...
This post focuses on the functionality of the TrySetPropertyValue method of the Delta class.<br /><br />When doing an http PATCH with the (very cool) Delta class, one can only update...
View ArticleCreated Issue: EnableOData will convert HttpError to ODataError even it's not...
By EnableOData in an existing web api project, all the HttpError in the project will be converted to ODataError when client requests application/json.The error payload's shape will be changed:Before...
View ArticleEdited Issue: EnableOData will convert HttpError to ODataError even it's not...
By EnableOData in an existing web api project, all the HttpError in the project will be converted to ODataError when client requests application/json.<br /><br />The error payload's shape...
View ArticleCreated Issue: Consider adding helper method to serialize and deserialize...
The helper method will be used for user to generate or parse link which contains key value segment.
View ArticleEdited Issue: Consider adding helper method to serialize and deserialize...
The helper method will be used for user to generate or parse link which contains key value segment.<br /><br />Currently, we use ODataUriUtils.ConvertToUriLiteral or ConvertFromUriLiteral...
View ArticleCreated Issue: Consider supporting parsing and generating key values in...
So user doesn't need to call ODataUriUtils.ConvertToUriLiteral or ODataUriUtils.ConvertFromUriLiteral to parse the id by himself.
View ArticleCreated Issue: Support composite keys in EntitySetController and ODataPath [675]
It's better to have strong typed key bindings.For example:public HttpResponseMessage Get(long key1, guid key2){}
View ArticleEdited Issue: Self/Edit link generated by convention model builder will be...
In my example, I returned string ID as “Test 01”. The self-link looks like: <br />http://hongye2dev3/9cfe3174130842d5b5e43761cee4f566/StringPrimaryKeyType('Test%25201')<br /><br...
View ArticleCommented Issue: Self/Edit link generated by convention model builder will be...
In my example, I returned string ID as “Test 01”. The self-link looks like: <br />http://hongye2dev3/9cfe3174130842d5b5e43761cee4f566/StringPrimaryKeyType('Test%25201')<br /><br...
View ArticleCreated Issue: Query composition error when derived type hides base type...
If user define type like:public class BaseType{ public string Name { get; set; }}public class DerivedType : BaseType{ public string Name { get; set; }}The derived type define a new property which has...
View ArticleEdited Issue: Error trying to query on Count property of a navigation...
I was using the ODataServiceSample for this scenario. I am trying to do the following:<br /><br />Get product families which have more than 20 products.<br /><br />Code:<br...
View ArticleCreated Issue: Null ref exception when trying to query on a complex type...
I am using the ODataServiceSample for my scenario.I am doing the following: Get all suppliers order by the Stateforeach (var supplier in ctx.Suppliers.OrderBy(splr => splr.Address.State))...
View ArticleEdited Issue: Null ref exception when trying to query(orderby) on a complex...
I am using the ODataServiceSample for my scenario.<br /><br />I am doing the following: Get all suppliers order by the State<br /><br />foreach (var supplier in...
View ArticleEdited Issue: AllowedFunctionNames group enums don't include correct num...
The following commented lines fails with Assert.Equal(value2, value1 & value2);<br /><br /> var data = new TheoryDataSet<AllowedFunctionNames, AllowedFunctionNames>();<br />...
View ArticleCommented Issue: Don't suppress internal-only rules inline in templates...
Per Eilon's request: Suppress internal-only rules for files that ship in templates in GlobalSuppressions.cs rather than inline so that customers who use the templates never see these rules (unless they...
View ArticleEdited Issue: Don't suppress internal-only rules inline in templates source...
Per Eilon's request: Suppress internal-only rules for files that ship in templates in GlobalSuppressions.cs rather than inline so that customers who use the templates never see these rules (unless they...
View ArticleCommented Issue: Null ref exception when trying to query(orderby) on a...
I am using the ODataServiceSample for my scenario.<br /><br />I am doing the following: Get all suppliers order by the State<br /><br />foreach (var supplier in...
View ArticleCommented Issue: Error trying to query on Count property of a navigation...
I was using the ODataServiceSample for this scenario. I am trying to do the following:<br /><br />Get product families which have more than 20 products.<br /><br />Code:<br...
View Article