Skip to content

optimistic locking (concurrency check) #30

@adamfoneil

Description

@adamfoneil

Historically, I've never needed this, and have always used a "last edit wins" approach to CRUD. But I think it would be neat to be able to opt into an optimistic locking feature that integrated with the Get and Update methods to acquire and release locks on rows. I saw this in an EF Core demo. I'd like this to work at the service level and not have to do anything at the model layer in particular -- for example, no particular interface to implement.

Note, I can see this morphing into an overhaul of the AO.Models project by moving away from model-layer interfaces to a new opt-in service layer. This would simplify the dependency footprint, removing the need to do what I'm doing today with partial classes and linked source.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions