Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Browsing all 7215 articles
Browse latest View live
↧

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 Article


Edited 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 Article


Edited 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 Article

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 Article

Created 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 Article


Created 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 Article

Created 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 Article

Edited 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 Article


Edited 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 Article


Closed 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 Article

Closed 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 Article

Closed 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 Article

Closed 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 Article


Closed 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 Article

Closed 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 Article


Closed 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 Article

Closed Issue: ConventionModelBuilder shouldn't add static property as Edm...

It should ignore static members.Comments: No longer repro

View Article


Closed 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 Article

Closed 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 Article

Closed 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
Browsing all 7215 articles
Browse latest View live


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