Search   

Thursday, September 09, 2010

Support » Support Forum

Register  Login

 Menu  
 
    

 Welcome!  
 


Welcome to the NDO support forum!

kreis.gif Please register/login at the site if you want to post a thread. We sometimes copy support mails of common interest to the forum. They appear with anonymous sender.
kreis.gif Please post your messages in English language if possible. You can do your posts also in German, we will translate your post and our answer so that all users of the forum can read your posts.
kreis.gif The forum software requires that javascript is enabled.
kreis.gif Please do not insert licence information or licence keys in forum posts.
kreis.gif If you know a good answer to a post of another user, feel free to reply!
kreis.gif The forum is monitored. We reserve the right to remove posts we consider not to be useful for other forum users.

   Print   

      
 NDO Support Forum  
 
SearchForum Home
  NDO-Forum postings in english please, if possible.  Developing with NDO  CollisionEvent...
 CollisionEvent
 
 11/22/2007 9:20:20 AM
iwerner
6 posts


CollisionEvent

Hi,

how can i handle a object in the CollisionEvent. I want to save or restore a object. The problem is, how can i save a object with has changed in the database by another user ?

 

 11/23/2007 9:05:26 AM
Mirko
109 posts
5th


Re: CollisionEvent
 Modified By Mirko  on 11/23/2007 11:08:24 AM)

Hi Igor,

abort the transaction, re-read the object from the database, change it according to your needs and store it again.

See the sample TestConcurrentTransaction. Have a look at the methods OnCollision (which is the collision handler) and btn_HandleCollision.Click.

Have also a look at the Concepts Section in the NDO Users Guide, which is integrated in the VS 2005 Help.

Best Regards
Mirko

 

  NDO-Forum postings in english please, if possible.  Developing with NDO  CollisionEvent...
  SearchSearch  Forum HomeForum Home