[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Data.DbDataSource.-ctor

DbDataSource Constructor

DbDataSource(string)

Initializes a new instance of the DbDataSource class based on the specified provider name.

Declaration
public DbDataSource(string providerName)
Parameters
Type Name Description
string providerName

The provider's invariant name used to match one of the registered data providers in the configuration. The search is case-insensitive (InvariantCultureIgnoreCase).

DbDataSource(DataProviderInfo)

Creates new DbDataSource out of DataProviderInfo

Declaration
public DbDataSource(DataProviderInfo dataProvider)
Parameters
Type Name Description
DataProviderInfo dataProvider

Data provider information

DbDataSource(DbProviderFactory)

Creates new DbDataSource out of DbProviderFactory

Declaration
[Obsolete("Please don't use this constructor.")]
public DbDataSource(DbProviderFactory factory)
Parameters
Type Name Description
DbProviderFactory factory

DbProviderFactory to be used