Dataverse: Implement Pre-lock in a plug-in transaction


The article discusses the implementation of pre-lock in a plug-in transaction in Dataverse. The author explores the scenario of handling concurrency issues and provides code examples for implementing the IfRowVersionMatches and pre-lock approaches. The IfRowVersionMatches approach uses the RowVersion property to handle concurrency conflicts, while the pre-lock approach locks the record using an update operation to ensure concurrency. The author compares the results of both approaches and highlights the importance of understanding the transaction mechanism when using pre-lock. Overall, the article provides insights into handling concurrency issues in Dataverse plug-ins.


Article 14m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time