Skip to content

Refresh with LockMode.Force does not bump the entity version #1899

Open
@strawd

Description

@strawd

Calling ISession.Lock using LockMode.Force updates the version property of the entity, but calling ISession.Refresh with the same lock mode does not update the version. I would expect both of these calls to behave the same, but with the refresh call fetching the latest data.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions