Three Types of Command Persistence Logic
Application Service is Command, then Persistence Logic in the Data Project could be of three types.
1. Persistence Logic Related to a Single Row in one DB Table, or Persistence Logic related to Single Order Instance. (Goes to Generic or Custom Repository inside the Data Project)
2. Persistence Logic Related to Collection of Rows in one DB Table, Or Persistence Logic related to Multiple Order Instances. (Goes to Custom Repository inside the Data Project)
3. Persistence is related to Multiple Rows in Multiple DB Tables, Or Persistence Logic related to Multiple Entities. (Goes to Custom Repository inside the Data Project)
Application Service is Command, then Persistence Logic in the Data Project could be of three types.
1. Persistence Logic Related to a Single Row in one DB Table, or Persistence Logic related to Single Order Instance. (Goes to Generic or Custom Repository inside the Data Project)
2. Persistence Logic Related to Collection of Rows in one DB Table, Or Persistence Logic related to Multiple Order Instances. (Goes to Custom Repository inside the Data Project)
3. Persistence is related to Multiple Rows in Multiple DB Tables, Or Persistence Logic related to Multiple Entities. (Goes to Custom Repository inside the Data Project)
No comments:
Post a Comment