In NHibernate when we are mapping an entity, we map version number like this:
Version(x => x.VersionNumber);
As a result, VersionNumber
gets added with default value of 1 and with each update of that entity, it auto increments the value and Nhibernate does all this by itself.
Is there anything similar like this in Entity Framework Core?