Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining which rows have changes and perform addition
Message
 
À
16/01/2009 10:02:57
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01374356
Message ID:
01376101
Vues:
13
Rick,

>1. how do I know which entities in my entitylist have changes?
>I am thinking that the most logical place to insert this code would be in the hookPreSaveEntity or hookPreSaveEntityList methods.
>thoughts and advice are appreciated.

Tim is right--in the current version of MM .NET where there is an underlying DataRow, you can check the DataRows to see if they have changed rather than checking the entity itself.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform