Execute an IDbCommand (that returns a resultset) against the database specified in the connection String.

Namespace: CodeSmith.Engine
Assembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
public virtual DataSet ExecuteDataset(
	IDbCommand command
)
Visual Basic
Public Overridable Function ExecuteDataset ( 
	command As IDbCommand
) As DataSet

Parameters

command
Type: System.Data..::..IDbCommand
The IDbCommand object to use

Return Value

Type: DataSet
A DataSet containing the resultset generated by the command

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionThrown if command is null.

See Also