Skip to content

Add overloads to ISession.Get taking both an entityName and a lockMode #2313

Closed
@idiotsky

Description

@idiotsky

ISession.Get methods have no overloads taking both an entityName and a lockMode, which, as a result, forces to lock in a separated query when getting an entity by entity name.

In high concurrency environments, it may cause issues.

Generic Get<T> methods also lack overloads with an entityName argument, which are required when the class is not the entity name.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions