Skip to content

Add custom method to a custom repository #140

Description

@josemojena

Hi, how I can add a custom method to the custom repository, now when I get the repository using
_unitOfWork.GetRepository<User>(hasCustomRepository: true) its impossible to get the custom methods available inside the UserRepository, always I have to convert it to UserRepository using something like this var userRepository = _unitOfWork.GetRepository<User>(hasCustomRepository: true) as UsersRepository; , so is there some way to get access to the custom methods without converting it manually

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions