Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Newbie question - Strongly Typed DS
Message
De
16/10/2010 12:53:47
 
 
À
15/10/2010 14:53:50
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 3.0
Divers
Thread ID:
01485576
Message ID:
01485744
Vues:
41
>BTW, there's some movement to not use DataSets but DataTables, or even better Entity Framework. Just something else to throw onto your learning list.

Really? Why in the world would one want to use only DataTables? There's really little overhead in having a DataSet, even if contains only one DataTable. And then you can easily add additional DataTables when/if you need them. Be consistent and always use a DataSet for transporting your data around between objects and layers, instead of sometimes using a DataSet and sometimes using a DataTable.

Unless, of course, you meant individual methods that only work on one DataTable, then yes, passing only the DataTable into the method would be ok. Or with DataBinding.

As far as Entity Framework, I still have not taken a taste of the Kool-Aid on that one, so I can't comment. <g>

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

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

Click here to load this message in the networking platform