Handle any provider-specific issues with BLOBs here by "washing" the IDataParameter and returning a new one that is set up appropriately for the provider.
Namespace: CodeSmith.EngineAssembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
protected virtual IDataParameter GetBlobParameter( IDbConnection connection, IDataParameter p ) |
Visual Basic |
---|
Protected Overridable Function GetBlobParameter ( connection As IDbConnection, p As IDataParameter ) As IDataParameter |
Parameters
- connection
- Type: System.Data..::..IDbConnection
The IDbConnection to use in cleansing the parameter
- p
- Type: System.Data..::..IDataParameter
The parameter before cleansing
Return Value
Type: IDataParameterThe parameter after it's been cleansed.