New Posts New Posts RSS Feed: detect and getting changed record
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

detect and getting changed record

 Post Reply Post Reply
Author
erturkcevik View Drop Down
Groupie
Groupie


Joined: 14-Jun-2007
Location: Turkey
Posts: 40
Post Options Post Options   Quote erturkcevik Quote  Post ReplyReply Direct Link To This Post Topic: detect and getting changed record
    Posted: 09-Apr-2008 at 8:31am
Hi;
 
How to I detect and getting changed and deleted and adding record?
For Example
 For each "changed" OrderDetail record
   process...
 For each "deleted" OrderDetail record
   process...
 For each "added" OrderDetail record
   process...
 
 
Best Regards
 
Back to Top
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Posted: 09-Apr-2008 at 10:10am

For modifications, use the OnPropertyChanged event,

The PersistenceManager does not fire events during CreateEntity() or Delete(). However there are events raised by the underlying DataTable class that you can register for, namely TableNewRow and RowDeleting. You always have access to the underlying DataTable via PersistenceManager.GetTable().

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down