Quote:
The situation below occurs in literally thousands of places in our database for different datatypes. If we're not handling any specific exceptions on trying to commit, would it be *bad* to remove the not-null attribute? We'd still get the SQL exception bubbled up to us...
well this is just my opinion, but i don't think your idea is *bad* if it saves you time in development. the caveat is that it should not increase time in support. thoughts if you proceed down this route:
1) you should probably use Nullables.NullableBoolean. you will be able to create robust error checking.
2) try and include some logic in your code that handles the error properly. i don't think you want SQL exceptions bubbling up to the UI.
just some quick thoughts.
-devon