DataConnectorGetReader Method

Executes the relational query.

Namespace:  Dundas.BI.Entities.DataConnectors
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
public Reader GetReader(
	IDisposable connection,
	QueryDefinition query
)

Parameters

connection
Type: SystemIDisposable
Database connection. If , the new connection is created.
query
Type: Dundas.BI.Data.DataProvidersQueryDefinition
The query definition.

Return Value

Type: Reader
The data reader.
Exceptions
ExceptionCondition
DataConnectionExceptionThe provider may throw this exception if it cannot establish the connection.
See Also