Programming pattern / architectural question

前端 未结 6 2040
伪装坚强ぢ
伪装坚强ぢ 2021-02-10 13:34

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:24

    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.

提交回复
热议问题