Miado - Much-improved ADO.Net
Add a parameter to the SQL statement using a specific DbType

Namespace:  Miado
Assembly:  Miado (in Miado.dll) Version: 0.8.10214.0 (0.8.10214.0)

Syntax

C#
IDbStatement AddParameter(
	string paramName,
	Object paramValue,
	DbType dbType
)
Visual Basic (Declaration)
Function AddParameter ( _
	paramName As String, _
	paramValue As Object, _
	dbType As DbType _
) As IDbStatement
Visual C++
IDbStatement^ AddParameter(
	String^ paramName, 
	Object^ paramValue, 
	DbType dbType
)

Parameters

paramName
Type: System..::.String
the name of the parameter in the SQL statement
paramValue
Type: System..::.Object
the actual value that will be replaced
dbType
Type: System.Data..::.DbType
a valid value from the DbType enum

Return Value

a reference to this object

See Also