Step 2 Define the Data Source
Now you’re going to bind the Northwind service data source in GridRemoteDataViewModel. In the XFPerfSamples project, expand ViewModels, and then open the GridRemoteDataViewModel.cs source file.
The sample project has already created GridRemoteDataViewModel, and defined the data source as being OData. In the source, add the following code segment to define the data source.
The BaseUri defines the Northwind server as the OData source. From the Northwind service, the EntitySet defines what data is pulled from the service. The PageSizeRequested is the number of items per page that is returned every time a page is requested. The MaxCachedPages is how many pages are cached after being requested.
After defining the data source, the next step is to bind that source to the view.