This sample is created to demonstrate on how we can prevent the query generation for foreign key column when data is fetched from remote datasource for foreign key column.
This application consist of two projects.
- Grid_PreventQueryGeneration
- OdataV4Service.
- Visual Studio 2022
- Visual Studio Code
- Checkout this project to a location in your disk.
- First, open the solution file of
OdataV4Service
using the Visual Studio 2022 and run the application. - Next, Open the solution file of
Grid_PreventQueryGeneration
using the Visual Studio 2022. - Restore the NuGet packages by rebuilding the solution and run the project.