Executes the SQL statements. 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: DatabaseObjects
Assembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0

Syntax

C#
public IDataReader Execute(
	ISQLStatement[] objSQLStatements
)
Visual Basic
Public Function Execute ( _
	objSQLStatements As ISQLStatement() _
) As IDataReader
Visual C++
public:
IDataReader^ Execute(
	array<ISQLStatement^>^ objSQLStatements
)

Parameters

objSQLStatements
Type: array<DatabaseObjects.SQL..::..ISQLStatement>[]()[][]

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

Return Value

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

See Also