Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changes in strongly-typed DataSet .cs files
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 1.1
Database:
MS SQL Server
Divers
Thread ID:
00980614
Message ID:
00998710
Vues:
71
Thanks for the links, Dave! I'll check 'em out!

~~Bonnie


>>I haven't played with the next version of .NET yet, so I'm curious about this nullable type that Dave Foderick mentioned. I should probably do some reading. =)
>>
>
>Object-relational impedence mismatch begone!
>
>Here is a backgrounder: http://msdn.microsoft.com/vcsharp/2005/overview/language/nullabletypes/
>
>The bottom line is that you can set value types, like integer, to null and elegantly handle null values in the database.
>
>int? i = null; // this is legal!
>
>
>You still have to be aware of issues like boxing. Andrew Conrad gives a really good overview of DBNull and nullable value types and why developers should be using DataRow.IsNull for handling nulls in the dataset.
>http://blogs.msdn.com/aconrad/archive/2005/02/28/381859.aspx
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform