hadi-lababidi submitted these extension methods
We all know that objects can be null, but when dealing with databases, a new null type shows up, the DBNull. This extention method detects it along with the null.
This ToString() version is null aware. That means it has different behaviors if the object's value is null or DBNull according to the NullOptions enum.