What is the purpose of the ConcurrencyStamp
column in the AspNetUsers
table in the new ASP.NET MVC 6 identity?
This is the database schema of the AspNetUsers
table:
It is also there in the AspNetRoles
table:
As I remember it wasn't there in the ASP.NET MVC 5 identity.
What I've noticed so far is that it seems to have GUID values as it is defined with the following code:
/// <summary>
/// A random value that must change whenever a user is persisted to the store
/// </summary>
public virtual string ConcurrencyStamp { get; set; } = Guid.NewGuid().ToString();
But this documentation is not sufficient for me to understand in which situations it is used.