How to globally handle "The parameters dictionary contains a null entry for parameter x"
===

I would like to know the best way to globally handle "The parameters dictionary contains a null entry for parameter x" error.

I realize that I can always set parameters as 

    nullable type 
and test them using their

    HasValue

property.

I'd rather find a more generic approach.

Any ideas?

Thanks!