When implemented by a class, put the value from the mapped Property into to the IDbCommand.

Namespace:  NHibernate.Type
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public MustOverride Sub Set ( _
	cmd As IDbCommand, _
	value As Object, _
	index As Integer _
)
C#
public abstract void Set(
	IDbCommand cmd,
	Object value,
	int index
)
Visual C++
public:
virtual void Set(
	IDbCommand^ cmd, 
	Object^ value, 
	int index
) abstract
JavaScript
function set(cmd, value, index);

Parameters

cmd
Type: System.Data..::.IDbCommand
The IDbCommand to put the value into.
value
Type: System..::.Object
The object that contains the value.
index
Type: System..::.Int32
The index of the IDbDataParameter to start writing the values to.

Remarks

Implementors do not need to handle possibility of null values because this will only be called from NullSafeSet(IDbCommand, Object, Int32) after it has checked for nulls.

See Also