Get an IDataParameter for use in a SQL command

Namespace: CodeSmith.Engine
Assembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
public virtual IDataParameter GetParameter(
	string name,
	Object value
)
Visual Basic
Public Overridable Function GetParameter ( 
	name As String,
	value As Object
) As IDataParameter

Parameters

name
Type: System..::..String
The name of the parameter to create
value
Type: System..::..Object
The value of the specified parameter

Return Value

Type: IDataParameter
An IDataParameter object

See Also