DataProviderBase Class

OBSOLETE

The DataProviderBase class is obsolete now. Use the DashboardSqlDataSource class instead

Serves as the base class for classes that represent a data provider.

Namespace: DevExpress.DataAccess

Assembly: DevExpress.DataAccess.v21.1.dll

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.

Inheritance

Object
DevExpress.Utils.Controls.DisposableObject
DataProviderBase
See Also