Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

Concurrency tokens

Daniel Wertheim edited this page Nov 29, 2012 · 4 revisions

From v10.0 you can now chose to include a concurrency token in your model. You do this by adding a member: public Guid|int|long ConcurrencyToken { get; set; }. This will tell SisoDb to re-check against the database before storing the item and ensure that you aren't storing an older/other version of the document. If you violate this, a SisoDbConcurrencyException will be thrown.

Clone this wiki locally