Timeline for Dealing with non-required user input
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 28, 2014 at 10:21 | comment | added | ChrisW |
Or maybe ToDbValue .
|
|
Feb 28, 2014 at 10:19 | comment | added | Max |
That's right... Don't know what I was thinking but you're right. I still think that DbNullable could be changed to something else. Maybe GetDbValue ? Or CheckDbNullable ? Just throwing some examples out there...
|
|
Feb 28, 2014 at 10:14 | comment | added | ChrisW | I'd expect IsSomething to return a boolean. | |
Feb 28, 2014 at 10:13 | comment | added | Max |
Personally I would've changed it to IsDbNullValue . But yeah, this is a good and simple way of doing it and it removes a couple of lines whenever OP needs to check if it's null.
|
|
Feb 28, 2014 at 10:10 | history | answered | ChrisW | CC BY-SA 3.0 |