Non-timestamp based concurrency tokens

The knowledge we gained about concurrency tokens and how the implementation was performed in the EF Core Framework would be useful in introducing concurrency tokens in this section.

Introducing the usages of concurrency tokens would be a meager topic, so we will implement them in the blogging system and see them in action. After all, talking about algorithms and scenarios would not be sufficient. In order to understand and grasp the topic, we need to handle them in action, so let's do it.

The concurrency token could be configured in the following ways:

  • Data annotations
  • Fluent API

We will see how the configurations were performed using both the approaches in our blogging system in the next two sections.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset