Language
Edit

IDataSourceProvider Interface

Definition

An object that can provide a data source.

public interface IDataSourceProvider
type IDataSourceProvider = interface
Public Interface IDataSourceProvider
Derived

Remarks

This is useful for situations where the lack of multiple inheritance makes it difficult to directly implement IDataSource in the object, but instead can lead to the correct data source that's managed externally.

Methods

Name Description
GetDataSource(String)

Get a datasource for a specific data source type, or null to return 1st or only data source.

GetDataSourceTypes()

Get an array of data source types that can be provided by this provider

Applies to