Executes the SQL statement and returns the result. The returned reader can only be used until the ConnectionScope is disposed (typically at the end of a using construct).

Namespace: DatabaseObjects
Assembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0

Syntax

C#
public IDataReader Execute(
	ISQLStatement sqlStatement
)
Visual Basic
Public Function Execute ( _
	sqlStatement As ISQLStatement _
) As IDataReader
Visual C++
public:
IDataReader^ Execute(
	ISQLStatement^ sqlStatement
)

Parameters

sqlStatement
Type: DatabaseObjects.SQL..::..ISQLStatement

[Missing <param name="sqlStatement"/> documentation for "M:DatabaseObjects.ConnectionScope.Execute(DatabaseObjects.SQL.ISQLStatement)"]

Return Value

[Missing <returns> documentation for "M:DatabaseObjects.ConnectionScope.Execute(DatabaseObjects.SQL.ISQLStatement)"]

See Also