markrendle/Simple.Data — Issue #106: ParameterTemplates of Type "Other" break Parameter type inference
Author: richardhopton
Created: 2011-10-28 19:28:50+00:00
State: open

SqlParameter (Sql Server) & SAParameter (Sql Anywhere) support type inference if the DbType haven't been set but a ParameterTemplate with no column has a DbType type of AnsiString that is passed to the parameterFactory.CreateParameter.

Propose a new method is added to the IDbParameterFactory that doesn't specify DbType and then if the template.Type is Other then call this method.