Create a command - which uses a transaction

Namespace: Contracts.Databases
Assembly: Contracts (in Contracts.dll)

Function CreateCommand( _ 
ByVal sql As String
) As IDBCommand
This language is not supported or no code example is available.
IDBCommand CreateCommand( 
string sql 
)
This language is not supported or no code example is available.
 
IDBCommand^ CreateCommand( 
String^ sql 
)
This language is not supported or no code example is available.
function CreateCommand( 
sql : String 
) : IDBCommand;
This language is not supported or no code example is available.

Parameters

sql
Type: string

the sql statement to use

Return Value

Type: IDBCommand

the db command

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1