Click or drag to resize
Akka.NETBatchingSqlJournalTConnection, TCommandAddParameter Method
Helper method used to add a parameter to existing database command.

Namespace:  Akka.Persistence.Sql.Common.Journal
Assembly:  Akka.Persistence.Sql.Common (in Akka.Persistence.Sql.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
protected void AddParameter(
	TCommand command,
	string paramName,
	DbType dbType,
	Object value
)

Parameters

command
Type: TCommand
DbCommand used to define a parameter in.
paramName
Type: SystemString
Query or procedure parameter name.
dbType
Type: System.DataDbType
Database type of a query or procedure parameter.
value
Type: SystemObject
Value of a query or procedure parameter.
See Also