DataProviderBase Class
In This Article
OBSOLETE
The Data
Serves as the base class for classes that represent a data provider.
Namespace: DevExpress.DataAccess
Assembly: DevExpress.DataAccess.v24.2.dll
NuGet Package: DevExpress.DataAccess
#Declaration
[Obsolete("The DataProviderBase class is obsolete now. Use the DashboardSqlDataSource class instead")]
public class DataProviderBase :
DisposableObject,
IDataProvider,
IServiceContainer,
IServiceProvider,
IParametersOwner,
IParameterSupplierBase
#Remarks
To supply a data source with data using a data provider, do one of the following:
- Pass the created DataConnection class instance to the DataProviderBase descendant constructor. Optionally, you can specify the SQL query to select the required data.
- Pass the created DataConnectionParametersBase descendant instance to the DataProviderBase descendant constructor and specify the connection name. Also, you need to specify the SQL query to select the required data.
See Also