Skip to content

Groups

Introduction

Groups can be used to group related entities. They are useful when you want to have different implementation of repositories for sets of entities, or if you want to use some entities in different parts of the solution. For example, some entities can be used and referenced in Agent components, but there is no need to create web api endpoints for them.

Configuration

To define a group of entities, you only have to choose the name of the group and provide the list of existing entities.

groups:
  - group: group1
    entities:
      - Car
      - Plane
  - group: group2
     entities:
      - Train
      - Ship
Back to top