IDataParameter() instead of SqlParameter()
RunProcedure in DBObject is passed an array of SqlParameter objects. However, the argument received by RunProcedure is IDataParameter(), the interface as an array instead of an array of SqlParameter(). I've never seen this done before, but obviously it works. Can someone explain this?
|