Override to make any adjustments to the IDbCommand object. (e.g., Oracle custom OUT parameter)
Parameters have been bound by this point, so their order can be adjusted too.
This is analagous to the RegisterResultSetOutParameter() function in Hibernate.
Namespace: NHibernate.DriverAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
protected virtual void OnBeforePrepare( IDbCommand command ) |
Visual Basic |
---|
Protected Overridable Sub OnBeforePrepare ( _ command As IDbCommand _ ) |
Visual C++ |
---|
protected: virtual void OnBeforePrepare( IDbCommand^ command ) |
Parameters
- command
- Type: System.Data..::..IDbCommand
[Missing <param name="command"/> documentation for "M:NHibernate.Driver.DriverBase.OnBeforePrepare(System.Data.IDbCommand)"]