Link to home
Start Free TrialLog in
Avatar of TheSilverBullet
TheSilverBullet

asked on

detecting added rows of in linq

in a datatable I have kind of row status (new, added ,deleted..), this is whether the datatable is filled by an adapter of a stored procedure or a table. now in linq with a list filled by a stored procedrue, how to track the deleted/added/modified rows?
Avatar of Sreedhar Vengala
Sreedhar Vengala
Flag of Australia image

would this be helpful : LINQ Audit   - DoddleAudit : http://www.matthidinger.com/archive/2009/01/12/linq-audit-trail-v2.aspx
Avatar of TheSilverBullet
TheSilverBullet

ASKER

that sounds good, but it has limitations, as the tables should use auto increment pk, and only on pk for a table!
ASKER CERTIFIED SOLUTION
Avatar of anyoneis
anyoneis
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial