Replies: 2 comments 7 replies
-
Personally, I don't use the OData anymore and most of the enhancements that were added to the OData Service over the years came from @jr01 (thanks to Jurriaan for all of these contributions). On the other hand, it seems that we are back at something similar to what we discussed a while ago in this older discussion OData Metadata Parser 😄 It might not be a parser that you're looking for, but it's still the idea of dynamically querying. If what you have in mind is expanding the OData Service by a lot, I would suggest to create a separate package that can be downloaded as per users discretion and loaded as an external EDIT So after taking a quick look at the link you provided, I definitely think this should be a separate package since it surely won't be used by everyone and making it optional (not part of OData Service) would be ideal. It's an interesting subject, I guess soon in the future you'll be able to send that over to ChatGPT to convert it to SQL 😆 If you can do it naturally with this package, it's a great addition. |
Beta Was this translation helpful? Give feedback.
-
Our application is used by accounting offices to check and report on their client's financial bookkeeping. We import bookkeeping data from ERPs. We use Angular Slickgrid in various parts of the application, e.g. to display financial transactions, the user can sort/filter/add columns/export to excel, etc. On the backend we have c#/ASP.NET Core 8 and use the Microsoft.AspNetCore.OData library to expose (some of our) Entity Framework Core (EF) entities that get the data from Azure/MS SQL. See https://learn.microsoft.com/en-us/odata/webapi-8/overview for details. About IN: Most relational databases translate IN to OR and the query plan the database generates is the same. If query length is a true concern, I would start to question the problem and come up with a different solution (either functionally, or technically). |
Beta Was this translation helpful? Give feedback.
-
the app I'm currently working on makes use of OData sent from Slickgrid to a C# backend that converts it to dynamically generated SQL code using https://github.com/DynamicODataToSQL/DynamicODataToSQL that is sent to a DB so that I get filtering/sorting and pagination for free. the app itself goes a bit further in that through a table based config, instances with custom validators, permissions and auditing can be configured directly in DB. in essence a generic way to fight all those excel files flying around ;)
one next potential use case is going to be combining it with Spfx to query data from Sharepoint Onlines OData backend from within a webpart.
I do wonder what others here are using it for. perhaps @jr01 and @ghiscoding could share your stories as well?
Beta Was this translation helpful? Give feedback.
All reactions