When implemented by a class, puts the value/values from the mapped
class into the IDbCommand.
Namespace: NHibernate.TypeAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public abstract void NullSafeSet( IDbCommand st, Object value, int index, bool[] settable, ISessionImplementor session ) |
Visual Basic |
---|
Public MustOverride Sub NullSafeSet ( _ st As IDbCommand, _ value As Object, _ index As Integer, _ settable As Boolean(), _ session As ISessionImplementor _ ) |
Visual C++ |
---|
public: virtual void NullSafeSet( IDbCommand^ st, Object^ value, int index, array<bool>^ settable, ISessionImplementor^ session ) abstract |
Parameters
- st
- Type: System.Data..::..IDbCommand
The IDbCommand to put the values into.
- value
- Type: System..::..Object
The object that contains the values.
- index
- Type: System..::..Int32
The index of the IDbDataParameter to start writing the values to.
- settable
- Type: array<System..::..Boolean>[]()[][]
Indicates which columns are to be set.
- session
- Type: NHibernate.Engine..::..ISessionImplementor
[Missing <param name="session"/> documentation for "M:NHibernate.Type.AbstractType.NullSafeSet(System.Data.IDbCommand,System.Object,System.Int32,System.Boolean[],NHibernate.Engine.ISessionImplementor)"]
Implements
IType..::..NullSafeSet(IDbCommand, Object, Int32, array<Boolean>[]()[][], ISessionImplementor)Remarks
Implementors should handle possibility of null values.
A multi-column type should be written to parameters starting from index.