Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Non-updatable table
Message
 
À
23/05/2005 04:01:12
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01016568
Message ID:
01016725
Vues:
8
>>Not what I would consider an elegant solution, I would much rather prefer that the >>business object took responsibility for which tables where to be saved

As Victor said, you could override stuff in the business object itself. If you want that behavior all the time, that would be ok. But if there were times when the business object shouldn't behave like that, overriding may not be the best.

Alternatively, you could create a method in your base buisness object named, for example, .RejectChanges(string tableName) and call it when you needed to.

Mike
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform