Gets or sets whether persistent object data is automatically fetched from the data source when it is modified.
true if automatic data loading and reloading is enabled; otherwise, false.
If the AutoReload property is set to true, automatic data loading and reloading is enabled:
- when the storage object is connected to the data source, it automatically fetches records from the data source;
- when the data source is modified, data is automatically reloaded.
If the AutoReload property is set to false, the storage object doesn’t load data when it’s connected to a data source, and doesn’t reload data when the data source is modified. In this case, the SchedulerStorageBase.RefreshData method needs to be called manually to fetch data from the data source when required. For instance, this method should be called when the form is opened in order to populate the XtraScheduler control with data.