Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How should I code this?
Message
 
À
09/05/2009 15:49:06
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01398722
Message ID:
01399047
Vues:
57
This message has been marked as a message which has helped to the initial question of the thread.
>Wouldn't you want to put this handling logic in the biz object so that it could deal with it for all calling methods?
>

Maybe. Honestly, I probably wouldn't bother with it unless I noticed I was duplicating this code. At that point I might be tempted to use an extension method like Viv suggested. That code isn't really specific to the business object so I'd want to put it into a utility class.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform