[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Core.Rendering.Data.DataProvidersFactory.GetAdapter

GetAdapter Method

GetAdapter(string)

Returns the registered IDbConnectionAdapter with a given name.

Declaration
public virtual IDbConnectionAdapter GetAdapter(string name)
Parameters
Type Name Description
string name

The name of the data providers (SQL, CSV, etc...) to lookup adapter for.

Returns
Type Description
IDbConnectionAdapter

A IDbConnectionAdapter instance with a given name.

Implements
Exceptions
Type Condition
ArgumentNullException

Thrown if the name is not specified.