Method InitialLoad
InitialLoad()
Start the initial query to the underlying data model. The result will be returned on the Data property. This method is typically called by the binding engine when dependent data bindings are activated. Set IsInitialLoadEnabled = false to prevent or delay the automatic loading of data.
public void InitialLoad()
Remarks
The InitialLoad method can be called multiple times. The provider is expected to ignore subsequent calls once the provider is busy executing the initial query, i.e. the provider shall not restart an already running query when InitialLoad is called again. When the query finishes successfully, any InitialLoad call will still not re-query data. The InitialLoad operation is typically asynchronous, a DataChanged event will be raised when the Data property assumed a new value. The application should call Refresh to cause a refresh of data.