Commented Issue: ODataConventionModelBuilder should ignore object[] property...
If user defines property like:public object[] Property1 { get; set; }or public IEnumerable<object> Property2 { get; set; }public ICollection<object> Property3 { get; set; }The model builder...
View ArticleCreated Issue: Required navigation property has ZeroOrOne multiplicity on edm...
Here is the test code:[DataContract] public class SimpleDataContractModel { [Key] [DataMember] public int KeyProperty { get; set; } [DataMember] public string Name { get; set; } [Required] [DataMember]...
View ArticleCreated Issue: Conventional builder should throw error when it cannot find a...
In this scenario, I generated a DbFirst model from Northwind database. For the following 2 classes which were autogenerated, the model builder is not able to figure out the keys, but the metadata is...
View ArticleCreated 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.When doing an http PATCH with the (very cool) Delta class, one can only update properties that are basic...
View ArticleEdited Issue: Conventional builder should throw error when it cannot find a...
In this scenario, I generated a DbFirst model from Northwind database. For the following 2 classes which were autogenerated, the model builder is not able to figure out the keys, but the metadata is...
View ArticleEdited Issue: Conventional builder should throw error when it cannot find a...
In this scenario, I generated a DbFirst model from Northwind database. For the following 2 classes which were autogenerated, the model builder is not able to figure out the keys(as expected), but the...
View ArticleClosed Issue: UInt64 will be added as complex type in...
Model:public class ModelClass{public uint64 Property{get;set;}}Add ModelClass as entity to conventionModelBuilder, it will add UInt64 as complex typeComments: Verified
View ArticleClosed Issue: QueryableAttribute can't filter on Get only property [350]
Define model:public class Customer{ private int age = 0; public int Age { get { return age; } }}Try $filter=Age eq 0Reports exception:{"Message":"The query specified in the URI is not...
View ArticleClosed Issue: Exception using [Queryable] attribute on classes inheriting a...
I've found that if you have a Get method decorated with the Queryable attribute it will fail with "navigation property not found" if the objects returned extend a base class with a List in it. I am...
View ArticleClosed Issue: QueryableAttribute can't work with non-generic collection...
Add non-generic collection property to model:public class ModelClass{ public CustomerCollection Customers { get; set; }}public class CustomerCollection :...
View ArticleClosed Issue: Nested class is not supported by QueryableAttribute [346]
To repro:public class Parent{ public class Nest { public string Name { get; set; } }]Put Nest as action return type:[QueryableAttribute]public IEnumerable<Nest> Get()Throw following...
View ArticleClosed Issue: ConventionModelBuilder shouldn't add static property as Edm...
It should ignore static members.Comments: No longer repro
View ArticleClosed Issue: QueryableAttribute can't work with property from parent class...
For example:public class Person{public Address Address { get; set; }}public class Employee : Person{}When returning IEnumerable<Employee> in action, it won't work with QueryableAttribute by...
View ArticleClosed Issue: QueryableAttribute doesn't work with IEnumerable property [343]
Models:public class Movie{public int MovieId { get; set; }public IEnumerable<Person> Actors { get; set; }public IEnumerable<string> Tags { get; set; }public Person Director { get; set;...
View ArticleClosed Issue: ConventionModelBuilder will add complex type as entity type [342]
For example, with model:public class Product{ public int ID { get; set; } public Supplier Supplier { get; set; }}public class Supplier{ public int ID { get; set; } public Address Address { get; set;...
View ArticleCreated Issue: $metadata requests should throw an exception when there is no...
Right now we just get a 406 with no error, because there are no formatters registered
View ArticleClosed Issue: OData: nullreference exception when return collection of...
public class Person { public int Id { get; set; } public string FirstName { get; set; } public string LastName { get; set; } } public class ShortPerson { public string FirstName { get; set; } public...
View ArticleClosed Issue: OData: Unknown $xxxx throws not supported with Queryable() [327]
Currently it doesn't support basics like $format and $inlinecount that all clients will pass. Most of the time we have no control over it. Unknown commands should not throw.Comments: Close the issue as...
View ArticleClosed Issue: Add parameter binder for supporting odata literal format. [325]
OData urls can contain edm primitives. The string representation of these primitives is different than what webapi (and .NET) uses causing model binding errors. For example, the url...
View ArticleEdited Issue: $metadata requests should throw an exception when there is no...
Right now we just get a 406 with no error, because there are no formatters registered
View Article