Skip to content
This repository has been archived by the owner on Dec 29, 2020. It is now read-only.

Add support for IQueryable #15

Open
7 tasks done
TrevorPilley opened this issue May 5, 2020 · 0 comments
Open
7 tasks done

Add support for IQueryable #15

TrevorPilley opened this issue May 5, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@TrevorPilley
Copy link
Contributor

TrevorPilley commented May 5, 2020

To be implemented in feature-queryable

Things to do in order to implement this are:

Linq.ODataQueryOptionsExtensions

  • Add with a static ApplyTo(this ODataQueryOptions queryOptions, IQueryable queryable) method
  • Check the IQueryable is for the same type as the EntitySet on the queryOptions
  • Implement a binder for $filter which applies the .Where() calls to the IQueryable
  • Implement a binder for $orderby which applies the .OrderBy() calls to the IQueryable
  • Implement a binder for $skip as .Skip()
  • Implement a binder for $top as .Take()
  • Implement a binder for $select and $expand which returns an IEnumerable<ExpandoObject>
TrevorPilley added a commit that referenced this issue May 6, 2020
Added initial select support covering the following possibilities:

* $select not specified
* $select=*
* $select=prop1
* $select=prop1,prop2,prop3/prop1
@TrevorPilley TrevorPilley added the enhancement New feature or request label May 10, 2020
@TrevorPilley TrevorPilley self-assigned this May 10, 2020
TrevorPilley added a commit that referenced this issue May 10, 2020
Added initial orderby support covering the following possibilities:

* $orderby not specified
* $orderby=Price,Rating desc
* $orderby=Category/Name,Name,Price desc
* $orderby=Rating
* $orderby=Rating desc
TrevorPilley added a commit that referenced this issue May 10, 2020
Added initial select support covering the following possibilities:

* $select not specified
* $select=*
* $select=prop1
* $select=prop1,prop2,prop3/prop1
TrevorPilley added a commit that referenced this issue May 10, 2020
Added initial orderby support covering the following possibilities:

* $orderby not specified
* $orderby=Price,Rating desc
* $orderby=Category/Name,Name,Price desc
* $orderby=Rating
* $orderby=Rating desc
TrevorPilley added a commit that referenced this issue May 10, 2020
Added initial select support covering the following possibilities:

* $select not specified
* $select=*
* $select=prop1
* $select=prop1,prop2,prop3/prop1
TrevorPilley added a commit that referenced this issue May 10, 2020
Added initial orderby support covering the following possibilities:

* $orderby not specified
* $orderby=Price,Rating desc
* $orderby=Category/Name,Name,Price desc
* $orderby=Rating
* $orderby=Rating desc
TrevorPilley added a commit that referenced this issue May 13, 2020
Added initial select support covering the following possibilities:

* $select not specified
* $select=*
* $select=prop1
* $select=prop1,prop2,prop3/prop1
TrevorPilley added a commit that referenced this issue May 13, 2020
Added initial orderby support covering the following possibilities:

* $orderby not specified
* $orderby=Price,Rating desc
* $orderby=Category/Name,Name,Price desc
* $orderby=Rating
* $orderby=Rating desc
TrevorPilley added a commit that referenced this issue May 15, 2020
Added $skip
TrevorPilley added a commit that referenced this issue May 15, 2020
Added $top
TrevorPilley added a commit that referenced this issue May 15, 2020
Implemented recursive $select and $expand
* $select=CompanyName,ContactName,AccountManager/Forename,AccountManager/Surname,AccountManager/EmailAddress&$expand=AccountManager/Manager
TrevorPilley added a commit that referenced this issue May 17, 2020
Refactoring
TrevorPilley added a commit that referenced this issue May 17, 2020
Refactoring
TrevorPilley added a commit that referenced this issue May 17, 2020
Refactoring
@TrevorPilley TrevorPilley added this to the 6.0.0 milestone May 18, 2020
TrevorPilley added a commit that referenced this issue May 18, 2020
Implemented QueryNodeKind.BinaryOperator, QueryNodeKind.Constant, QueryNodeKind.PropertyAccess and QueryNodeKind.UnaryOperator.

Still to do QueryNodeKind.FunctionCall
TrevorPilley added a commit that referenced this issue May 19, 2020
Added initial select support covering the following possibilities:

* $select not specified
* $select=*
* $select=prop1
* $select=prop1,prop2,prop3/prop1
TrevorPilley added a commit that referenced this issue May 19, 2020
Added initial orderby support covering the following possibilities:

* $orderby not specified
* $orderby=Price,Rating desc
* $orderby=Category/Name,Name,Price desc
* $orderby=Rating
* $orderby=Rating desc
TrevorPilley added a commit that referenced this issue May 19, 2020
Added $skip
TrevorPilley added a commit that referenced this issue May 19, 2020
Added $top
TrevorPilley added a commit that referenced this issue May 19, 2020
Implemented recursive $select and $expand
* $select=CompanyName,ContactName,AccountManager/Forename,AccountManager/Surname,AccountManager/EmailAddress&$expand=AccountManager/Manager
TrevorPilley added a commit that referenced this issue May 19, 2020
Refactoring
TrevorPilley added a commit that referenced this issue May 19, 2020
Refactoring
TrevorPilley added a commit that referenced this issue May 19, 2020
Refactoring
TrevorPilley added a commit that referenced this issue May 19, 2020
Implemented QueryNodeKind.BinaryOperator, QueryNodeKind.Constant, QueryNodeKind.PropertyAccess and QueryNodeKind.UnaryOperator.

Still to do QueryNodeKind.FunctionCall
TrevorPilley added a commit that referenced this issue May 21, 2020
Implemented the string functions
TrevorPilley added a commit that referenced this issue May 21, 2020
Implemented date and time functions
TrevorPilley added a commit that referenced this issue May 21, 2020
Implemented the Arithmetic Functions
TrevorPilley added a commit that referenced this issue May 22, 2020
Implemented the string functions
TrevorPilley added a commit that referenced this issue May 22, 2020
Implemented date and time functions
TrevorPilley added a commit that referenced this issue May 22, 2020
Implemented the Arithmetic Functions
TrevorPilley added a commit that referenced this issue May 22, 2020
Implemented mindatetime(), maxdatetime() and now()
TrevorPilley added a commit that referenced this issue Jun 1, 2020
Added initial select support covering the following possibilities:

* $select not specified
* $select=*
* $select=prop1
* $select=prop1,prop2,prop3/prop1
TrevorPilley added a commit that referenced this issue Jun 1, 2020
Added initial orderby support covering the following possibilities:

* $orderby not specified
* $orderby=Price,Rating desc
* $orderby=Category/Name,Name,Price desc
* $orderby=Rating
* $orderby=Rating desc
TrevorPilley added a commit that referenced this issue Jun 1, 2020
Added $skip
TrevorPilley added a commit that referenced this issue Jun 1, 2020
Added $top
TrevorPilley added a commit that referenced this issue Jun 1, 2020
Implemented recursive $select and $expand
* $select=CompanyName,ContactName,AccountManager/Forename,AccountManager/Surname,AccountManager/EmailAddress&$expand=AccountManager/Manager
TrevorPilley added a commit that referenced this issue Jun 1, 2020
Refactoring
TrevorPilley added a commit that referenced this issue Jun 1, 2020
Refactoring
TrevorPilley added a commit that referenced this issue Jun 1, 2020
Refactoring
TrevorPilley added a commit that referenced this issue Jun 1, 2020
Implemented QueryNodeKind.BinaryOperator, QueryNodeKind.Constant, QueryNodeKind.PropertyAccess and QueryNodeKind.UnaryOperator.

Still to do QueryNodeKind.FunctionCall
TrevorPilley added a commit that referenced this issue Jun 1, 2020
Implemented the string functions
TrevorPilley added a commit that referenced this issue Jun 1, 2020
Implemented date and time functions
TrevorPilley added a commit that referenced this issue Jun 1, 2020
Implemented the Arithmetic Functions
TrevorPilley added a commit that referenced this issue Jun 1, 2020
Implemented mindatetime(), maxdatetime() and now()
TrevorPilley added a commit that referenced this issue Nov 13, 2020
Added initial select support covering the following possibilities:

* $select not specified
* $select=*
* $select=prop1
* $select=prop1,prop2,prop3/prop1
TrevorPilley added a commit that referenced this issue Nov 13, 2020
Added initial orderby support covering the following possibilities:

* $orderby not specified
* $orderby=Price,Rating desc
* $orderby=Category/Name,Name,Price desc
* $orderby=Rating
* $orderby=Rating desc
TrevorPilley added a commit that referenced this issue Nov 13, 2020
Added $skip
TrevorPilley added a commit that referenced this issue Nov 13, 2020
Added $top
TrevorPilley added a commit that referenced this issue Nov 13, 2020
Implemented recursive $select and $expand
* $select=CompanyName,ContactName,AccountManager/Forename,AccountManager/Surname,AccountManager/EmailAddress&$expand=AccountManager/Manager
TrevorPilley added a commit that referenced this issue Nov 13, 2020
Refactoring
TrevorPilley added a commit that referenced this issue Nov 13, 2020
Refactoring
TrevorPilley added a commit that referenced this issue Nov 13, 2020
Refactoring
TrevorPilley added a commit that referenced this issue Nov 13, 2020
Implemented QueryNodeKind.BinaryOperator, QueryNodeKind.Constant, QueryNodeKind.PropertyAccess and QueryNodeKind.UnaryOperator.

Still to do QueryNodeKind.FunctionCall
TrevorPilley added a commit that referenced this issue Nov 13, 2020
Implemented the string functions
TrevorPilley added a commit that referenced this issue Nov 13, 2020
Implemented date and time functions
TrevorPilley added a commit that referenced this issue Nov 13, 2020
Implemented the Arithmetic Functions
TrevorPilley added a commit that referenced this issue Nov 13, 2020
Implemented mindatetime(), maxdatetime() and now()
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant