IDataSourceDataProvider Interface Members
The following tables list the members exposed by IDataSourceDataProvider.
Public Properties
| Name | Description |
| ActualSchema | Gets the resolved schema for the data provider. Represents which properties are available for the items. |
| DeferAutoRefresh | Gets or sets whether the auto refresh mechanism of the data provider is currently defered. The data provider will not react to most setting changes while this is set to true an will instead defer processing. Setting this value to false will queue a new refresh. |
| ExecutionContext | Gets or sets the execution context that the data provider should synchronize asynchronous actions with, or use to defer delayed actions. |
| FilterExpressions | Gets a collection to add filter expressions to. Changing the filter expressions in this collection will adjust the filter applied to the data provider. |
| GroupDescriptions | Gets a collection to add grouping descriptions to. Changing the grouping descriptions in this collection will adjust the grouping applied to the data provider. |
| IsFilteringSupported | Gets if filtering is supported on the data provider. |
| IsGroupingSupported | Gets if grouping is supported on the data provider. |
| IsItemIndexLookupSupported | Gets whether lookup of an index for a provided item is supported. |
| IsKeyIndexLookupSupported | Gets whether lookup of an index for a provided primary key value is supported. |
| IsSortingSupported | Gets if sorting is supported on the data provider. |
| NotifyUsingSourceIndexes | Gets whether, when manually notifying the data source of changes, one should use indexes relative to the actual source data, or relative to the view the data source is maintaining into the data. |
| PropertiesRequested | Gets or sets a list of property references for the properties desired by the consumer of the data provider. If known, the data provider may take steps to request only those properties, or to ensure that those properties are included, rather than the default behavior for this type of data provider. |
| SortDescriptions | Gets a collection to add sort descriptions to. Changing the sort descriptions in this collection will adjust the sort applied to the data provider. |
| SummaryDescriptions | Gets a collection to add summary descriptions to. Changing the summary descriptions in this collection will adjust the summaries applied to the data provider. |
| SummaryScope | Gets or sets the scope which summaries are calculated for. |
| UpdateNotifier | Gets or sets an DataSource update notifier that the data provider should invoke methods on to indicate various changes have occurred. |
Public Methods
| Name | Description |
| FlushAutoRefresh | Called to make sure a queued refresh of the data provider has been applied before continuing. Should only be needed if you are trying to synchronously examine the results of changing settings on the data provider. Note, for a virtual data provider, the data provider itself may be waiting for other synchronous requests to actualize data. This call will not wait for those, but will only make sure the appropriate requests are in flight from the settings changes |
| GetItemValue | Gets a property value by name from an item. |
| IndexOfItem | Called to return the index for an item contained in the data source, or -1, if the item can't be found, or this action isn't currently supported. |
| IndexOfKey | Called to return the index for an primary key value contained in the data source, or -1, if the key can't be found, or this action isn't currently supported. |
| QueueAutoRefresh | Called to manually queue a refresh of the data provider. |
| Refresh | Called to synchronously refresh the data provider. |
| ResolveSchemaPropertyType | Resolve a property or property path to its value type. |
Public Events
| Name | Description |
| SchemaChanged | Indicates when teh schema of the data provider has changed. |
See Also