In this demo, Grid is bind with data from Custom Adaptor which is created as a component when DataAdaptor is extended from OwningComponentBase. You can create Custom Adaptor from any of the two versions of the class, DataAdaptor and DataAdaptor<T>. In this demo we have used the DataAdaptor version.
- Visual Studio 2022
- Checkout this project to a location in your disk.
- Open the solution file using the Visual Studio 2022.
- Restore the NuGet packages by rebuilding the solution.
- Run the project.
NOTE: Ensure to modify the path of NORTHWIND.MDF in OrderContext.cs based on your local path, before running the sample.