Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Non-updatable table
Message
 
To
23/05/2005 04:01:12
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01016568
Message ID:
01016725
Views:
7
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform