Quantcast
Channel: ADO.NET, Entity Framework, LINQ to SQL, NHibernate
Viewing all articles
Browse latest Browse all 1698

How to check which properties have been modified in a LINQ Object and save in a log table in database ?

$
0
0

Hi, I have an ASP.NET Webforms system using LINQ to Entity and I want to save in a database all the data that the user has modified.
Does anyone tell me if there is a better way or do I have to manually check the field, the previous value and the current value and save it if it is different, and then I save in a "LOG" file in database ? Can anyone indicate a better way to do it?

Thanks in advance.


Viewing all articles
Browse latest Browse all 1698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>