Version

InitializeAdditionalProperties Method

Initializes properties on a newly constructed concrete IDataParameter that cannot be initialized through it's available constructors.
Syntax
'Declaration
 
Protected Overridable Function InitializeAdditionalProperties( _
   ByVal param As IDbDataParameter _
) As IDataParameter
protected virtual IDataParameter InitializeAdditionalProperties( 
   IDbDataParameter param
)

Parameters

param
The IDataParameter reference getting initialized.

Return Value

An initialized IDataParameter implementation based on the state of the current DataParameterSurrogate.
Remarks

Inheritors may call this method from their overrides of IConvertible.ToType in order to copy property values from this instance to their newly constructed IDbDataParameter implementation. Inheritors who add additional properties to the DataParameterSurrogate should also override this method, to call the base implementation and then copy any additional properties they have added that were not assignable when the IDbDataParameter implementation was constructed.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also