Programming pattern / architectural question

前端 未结 6 1553
生来不讨喜
生来不讨喜 2021-02-10 13:50

I am currently working on a project where I have a BankAccount entity for some other entity.

Each bank account as a reference to a bank entity, an account number and opt

6条回答
  •  耶瑟儿~
    2021-02-10 14:17

    You could implement a Specification that uses Dependency Injection for the Repository. You lose a bit of cohesion, though.

    More details can be found here.

提交回复
热议问题