Reflection

There are 1 entries for the tag Reflection
Recently, I ran into a problem where I needed to cast from an unknown type to a known type. Normally this would be fine as I a generic cast. For example... 1 public static T ValueOf<T>( this OracleCommand command, string parameterName ) 2 { 3 return (T)command.Parameters[param... 4 } The parameter of course returns an object and I wanted to streamline the parameter value lookup process. All was well until I started using ODP.Net (instead of Microsofts OracleClient). With the OracleClient, ......