Executes the SQL statement.
ConnectionController.Start must be called prior to and
ConnectionController.Finished afterwards or the statement be wrapped in a TransactionScope().
Otherwise the connection will not be correctly closed.
If wrapped in a TransactionScope call then Start is implicitly called if it has
not been called previously with the transaction scope.
Namespace: DatabaseObjectsAssembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0
Syntax
C# |
---|
public IDataReader Execute( ISQLStatement objSQLStatement ) |
Visual Basic |
---|
Public Function Execute ( _ objSQLStatement As ISQLStatement _ ) As IDataReader |
Visual C++ |
---|
public: IDataReader^ Execute( ISQLStatement^ objSQLStatement ) |
Parameters
- objSQLStatement
- Type: DatabaseObjects.SQL..::..ISQLStatement
[Missing <param name="objSQLStatement"/> documentation for "M:DatabaseObjects.Database.ConnectionController.Execute(DatabaseObjects.SQL.ISQLStatement)"]
Return Value
[Missing <returns> documentation for "M:DatabaseObjects.Database.ConnectionController.Execute(DatabaseObjects.SQL.ISQLStatement)"]