Jon Louthian
11-21-2006, 02:20 PM
It looks like there's a bug in the CreateParameter() method of the newly refactored DbProvider class. I believe it should be creating an instance of dbMetadata.ParameterType, instead of dbMetadata.ParameterDbType:
public IDbDataParameter CreateParameter()
{
return ObjectUtils.InstantiateType(dbMetadata.ParameterDb Type) as IDbDataParameter;
}
Thanks!
public IDbDataParameter CreateParameter()
{
return ObjectUtils.InstantiateType(dbMetadata.ParameterDb Type) as IDbDataParameter;
}
Thanks!