Framework Design Guidelines: System.DBNull
Posted by: Brad Abrams,
on 10 Feb 2009 |
View original | Bookmarked: 0 time(s)
Continuing in our weekly blog post series that highlights a few of the new additions to the Framework Design Guidelines 2nd edition.. This content is found in the Nullable<T> section of Chapter 8: Usage Guidelines. Pablo helps us out with some subtle details that might really come in handy. AVOID using System.DBNull. Prefer Nullable<T> instead. PABLO CASTRO Nullable<T> is in general a better representation of optional database values. One thing to consider though is that...