Use timestamp column to update or deny updating a record.
This demo also use Dapper as an ORM - which executes a SQL query then maps the results into a list of C# objects.
If you'd like to see sample code, please go here: https://github.com/juanonsoftware/POC...