When implemented by a class, put the value from the mapped
Property into to the IDbCommand.
Namespace: NHibernate.TypeAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public abstract void Set( IDbCommand cmd, Object value, int index ) |
Visual Basic |
---|
Public MustOverride Sub Set ( _ cmd As IDbCommand, _ value As Object, _ index As Integer _ ) |
Visual C++ |
---|
public: virtual void Set( IDbCommand^ cmd, Object^ value, int index ) abstract |
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.