Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

db lock

 
joey phillip
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I will really appreciate if some one can explain how to implement db lock (-1 param in lock).
joey
 
Dilip kumar
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think we need to lock all records in db.
if (record == -1) {
  for (int i = 1; i <= recordCount; i++){
    lock(i);
  }
}
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic