I need to check the value of the SqlParameter object and change it based on special labels.ie: [BB] ==> Baseball, [FP] ==> Fastpitch.
I can do it with an additional function like this:
_params.Add(new SqlParameter(@Change, paramCheck(obj.Change)));I would like to try overriding the new SqlParameter method/function and run my check in there. How can I do that?