Write an instance of the mapped class to a prepared statement.
Implementors should handle possibility of null values.
A multi-column type should be written to parameters starting from index.
Namespace:
NHibernate.UserTypesAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Sub NullSafeSet ( _ cmd As IDbCommand, _ value As Object, _ index As Integer, _ session As ISessionImplementor _ ) |
C# |
---|
void NullSafeSet( IDbCommand cmd, Object value, int index, ISessionImplementor session ) |
Visual C++ |
---|
void NullSafeSet( IDbCommand^ cmd, Object^ value, int index, ISessionImplementor^ session ) |
JavaScript |
---|
function nullSafeSet(cmd, value, index, session); |
Parameters
- cmd
- Type: System.Data..::.IDbCommand
- value
- Type: System..::.Object
- index
- Type: System..::.Int32
- session
- Type: NHibernate.Engine..::.ISessionImplementor