I definitely remember seeing somewhere an example of doing so using reflection or something. It was something that had to do with SqlParameterCollection which is not creatable by a user (if I’m not mistaken). Unfortunately cannot find it any longer.
Can anyone please share this trick here? Not that I consider it a valid approach in development, I’m just very interested in the possibility of doing this.
1 Answer