Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to know which columns changed
Message
De
13/05/2010 18:51:13
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Versions des environnements
Environment:
C# 3.0
Divers
Thread ID:
01464500
Message ID:
01464511
Vues:
41
>>If I want to log all the changes that are made to a row in the dataset before it is saved, is there a way to know which columns changed within the changed rows?
>>
>>If I start with a DataTable that is to be saved, I can get the rows that have changes with GetChanges() but then looping through those, is there a way to tell which columns were changed?
>>
>>Alternatively, is there a way to take a snapshot of a DataSet easily for comparison later?
>>Thanks
>>Tim
>
>Are you using Entity Framework? Is it part of the Framework, AFAIK.

Not for this. Hmm, I am using a DataSet and there is no DataSet behind the Entity Framework. I think that is why the Entity Framework is suppose to be lighter than if wrapping around ADO.

I am using Entity objects but wrapped around ADO data so I can get to a datasets / datatables.
Tim
Timothy Bryan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform