Created Issue: Delta doesn't support abstract class [450]
As we are supporting abstract base type, we should make Delta<T> to support abstract as well.Current definition of Delta<T> is: public class Delta<TEntityType> : DynamicObject,...
View ArticleCreated Issue: Delta doesn't work base type [451]
For example, I have controller class: public class MotorcyclesController : ApiController { public void Put(Delta<Vehicle> motocycle) { } }When I send request:PUT...
View ArticleSource code checked in, #fe17e7fcb5e2
Remove AttributeEdmPropertyConvention<TPropertyConfiguration, TAttribute> and AttributeEdmTypeConvention<TEdmTypeConfiguration,TAttribute> to avoid partial trust issues with querying on...
View ArticleEdited Issue: Delta doesn't work base type [451]
For example, I have controller class: public class MotorcyclesController : ApiController { public void Put(Delta<Vehicle> motocycle) { } }When I send request:PUT...
View ArticleCommented Issue: Delta doesn't work base type [451]
For example, I have controller class: public class MotorcyclesController : ApiController { public void Put(Delta<Vehicle> motocycle) { } }When I send request:PUT...
View ArticleEdited Issue: Delta doesn't support abstract class [450]
As we are supporting abstract base type, we should make Delta<T> to support abstract as well.Current definition of Delta<T> is: public class Delta<TEntityType> : DynamicObject,...
View ArticleClosed Issue: ODataMediaTypeFormatter can't deserialize derived type if base...
For example, we have model class: public abstract class Vehicle { [Key] public int Model { get; set; } [Key] public string Name { get; set; } public virtual int WheelCount { get; set; } } public class...
View ArticleEdited Issue: Support ComplexType inheritance in OData [448]
The current ODataModelBuilder only support to set base type for entity type. However, the OData spec says complex type can have base type, too. "derived type: A type that is derived from the base type....
View ArticleClosed Issue: Compare int with enum in $filter will report can't compare int...
For example: http://localhost:64513/api/Model?$filter=1+eq+Enum3Response: HTTP/1.1 400 Bad RequestCache-Control: no-cachePragma: no-cacheContent-Type: application/json; charset=utf-8Expires: -1Server:...
View ArticleClosed Issue: OrderBy Clauses Shade Programmed Ones [444]
The scenario is to return IQueryable as follows:_dataContext .Cards .OrderByDescending(kc => kc.SendDate) .Where(x => x.SendDate > someDate);Framework inserts additional orderby clauses on the...
View ArticleEdited Issue: Exceptions raised from IQueryable implementation are always...
I have constructed a Web API controller with an IQueryable action method as follows.public class ValuesController : ApiController{ [Queryable] IQueryable<int> GetValues() { Task<int>[]...
View ArticleEdited Issue: QueryableAttribute doesn't support query on public field [441]
To repro:public class Movie{ public string Name = null;}public class MoviesController : ApiController{ [Queryable] public IEnumerable<Movie> Get() { return new Movie[] { new Movie { Name = "Test"...
View ArticleCommented Issue: QueryableAttribute doesn't support query on public field [441]
To repro:public class Movie{ public string Name = null;}public class MoviesController : ApiController{ [Queryable] public IEnumerable<Movie> Get() { return new Movie[] { new Movie { Name = "Test"...
View ArticleNew Post: support for batch in odata
Thanks for the answer, I did look into that example right after I posted question here, however it seems a bit different. Have anyone tried adopting this for WCF Data Client? Thanks.
View ArticleCreated Issue: Duplicate references to System.Web.WebPages.Administration.dll...
1. In Visual Studio, create a new Razor v1 web site2. Using the NuGet Package Manager, install the "Microsoft ASP.NET Web Pages" package to upgrade the site to version 2.3. Note the changes made to...
View ArticleNew Post: Multiple Get[NavigationProperty] methods on controller
I feel incredibly stupid: Adding the action selector thing fixes my issues. Thanks for the hint! :) On Mon, Sep 24, 2012 at 7:50 PM, Matthijs ter Woord <matthijsterwoord@gmail.com> wrote: Thanks...
View ArticleEdited Issue: Can't customize navigation link builder in...
For example, I want to change the navigation property link by providing my own link builder code:public class Todo{public int Id { get; set; }public Person CreatedBy { get; set; }}public class...
View ArticleCommented Issue: Can't customize navigation link builder in...
For example, I want to change the navigation property link by providing my own link builder code:public class Todo{public int Id { get; set; }public Person CreatedBy { get; set; }}public class...
View ArticleEdited Issue: Can't set navigation property as required when using...
For example, I want to set one of the navigation property to be required: public class Todo { public int Id { get; set; } public Person CreatedBy { get; set; } } public class Person { public int...
View ArticleCommented Issue: Can't set navigation property as required when using...
For example, I want to set one of the navigation property to be required: public class Todo { public int Id { get; set; } public Person CreatedBy { get; set; } } public class Person { public int...
View Article