Can we add these filters while preparing the query then to hit the Db? in video we have some small static data. consider Huge data where we have lakhs of record. As we pass a filter if it fetch all data then add filters its an issue
UseMvc doesn't exist now, and IEndpointRouteBuilder doesn't contain a definition for EnableDependencyInjection or Expand().Count().Select()...., so how to configure OData now ?
You can actually use IQueryable if you use EF to access the entity framework, here's a full tutorial with example code: devblogs.microsoft.com/odata/integrating-cosmos-db-with-odata-part-2/
Microsoft today has a very open culture actually, if you go on our campus you will see people walking with all kinds of different technologies, we have people that even use Apple products such as Macbook Pro or iPads, you will see people using Lenovo, HP, even on the software side, you will see people using competitive products like Rider and Node.js. What I'm trying to say is that if you work at Microsoft today you can use whatever software/hardware you like, our cloud platform is open to all kinds of technologies also, Microsoft will let you use whatever technology you're comfortable with to get your tasks done, you'd love it here.
OOooodata, loooove it!
You are always coming easy stuff !...........Nice
OData is amazing
Can we use OData with dapper using SQL client? Does it filter from the db or it filters from the query resulted from the db?
Can we add these filters while preparing the query then to hit the Db? in video we have some small static data. consider Huge data where we have lakhs of record. As we pass a filter if it fetch all data then add filters its an issue
Can you query child entities in a single request?
Yes, you can do for instance $expand=Teachers($filter=name eq 'John')
UseMvc doesn't exist now, and IEndpointRouteBuilder doesn't contain a definition for EnableDependencyInjection or Expand().Count().Select()...., so how to configure OData now ?
If you mean for .NET Core 3.0+ these updates should be taken care of with the next OData release on the second quarter of 2020
@@HassanHabib
Ohhh god, so we cannot use OData till April 2020 at least ??!!
@@amirwork8003 unfortunately not, sorry.
@@amirwork8003 you can try with the beta version today, here's how: ua-cam.com/video/VGnLZ6Fxnx8/v-deo.html
Problem with this was the unsupported stuff with IQueriable usually only basic things work advanced things don't.
You can actually use IQueryable if you use EF to access the entity framework, here's a full tutorial with example code:
devblogs.microsoft.com/odata/integrating-cosmos-db-with-odata-part-2/
Why if you work on Microsoft, you are using Google Chrome. I thought new Edge should be the default at Microsoft for all (web) Dev teams.
Microsoft today has a very open culture actually, if you go on our campus you will see people walking with all kinds of different technologies, we have people that even use Apple products such as Macbook Pro or iPads, you will see people using Lenovo, HP, even on the software side, you will see people using competitive products like Rider and Node.js.
What I'm trying to say is that if you work at Microsoft today you can use whatever software/hardware you like, our cloud platform is open to all kinds of technologies also, Microsoft will let you use whatever technology you're comfortable with to get your tasks done, you'd love it here.