diff --git a/repository/README.md b/repository/README.md index e2be527a2..f29d0c98e 100644 --- a/repository/README.md +++ b/repository/README.md @@ -29,6 +29,10 @@ In plain words > Repositories are classes or components that encapsulate the logic required to access data sources. They centralize common data access functionality, providing better maintainability and decoupling the infrastructure or technology used to access databases from the domain model layer. +Sequence diagram + +![Repository sequence diagram](./etc/repository-sequence-diagram.png) + ## Programmatic Example of Repository Pattern in Java Let's first look at the person entity that we need to persist. diff --git a/repository/etc/repository-sequence-diagram.png b/repository/etc/repository-sequence-diagram.png new file mode 100644 index 000000000..45eae0987 Binary files /dev/null and b/repository/etc/repository-sequence-diagram.png differ