markrendle/Simple.Data — Issue #107: Allow adapter to build Procedure command parameters
Author: richardhopton
Created: 2011-10-29 08:01:26+00:00
State: open

In SqlServer and SqlAnywhere there is a provider specific CommandBuilder which call fully populate a Command with all the parameters including SqlDbType/SADbType, Size, Scale, Precision, Direction and any other provider specific properties. With this in mind instead of creating all the parameters in ProcedureExecutor.SetParameters it should defer this responsibility to the adapter (Perhaps a new ICommandBuilder interface) and only rely on SetParameters to set the Parameter values.