Closed Issue: IsConcurrencyToken(true) doesn't output etag attribute on edm...
The method is not working when set property as concurrency token.For example: builder .Entity<Vehicle>() .Abstract() .HasKey(v => v.Name) .HasKey(v => v.Model) .Property(v =>...
View ArticleEdited Issue: Make primitive parameters non-nullable by default when they are...
In the following action configuration, 'DateTime' parameter needs to be shown as Nullable="False" in the metadata document.ActionConfiguration:var product = products.EntityType;var extendSupportAction...
View ArticleEdited Issue: ODataConventionModelBuilder should ignore object[] property [506]
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 ArticleCommented 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: "An item with the same key has already been added." exception...
I get the above exception when I try to use the [Queryable] attribute with the following model:public class Store{ public Store() { this.Municipality = new Municipality(); } public string Id { get;...
View ArticleClosed Issue: Queryable attribute does not work with classes that has...
As described in the title.It does work if the abstract parent class is empty, though.Steps to reproduce:1. Create new WebAPI project2. Install "Microsoft.AspNet.WebApi.OData" package3. Create abstract...
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 Article