From 21bcae9ab8af45d9466b501718f6bfaf1997659b Mon Sep 17 00:00:00 2001 From: Sean Alford Date: Wed, 27 Nov 2019 19:12:27 -0500 Subject: [PATCH 1/2] Update Entities.md --- docs/en/Entities.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/en/Entities.md b/docs/en/Entities.md index 3a946461e7e..4767fb0a15b 100644 --- a/docs/en/Entities.md +++ b/docs/en/Entities.md @@ -59,7 +59,8 @@ Entities with composite keys should implement the `GetKeys()` method as shown ab Notice that you also need to define keys of the entity in your **object-relational mapping** (ORM) configuration. -> Composite primary keys has a restriction with repositories. Since it has not known Id property, you can not use `IRepository` for these entities. However, you can always use `IRepository`. See [repositories documentation](Repositories.md) for more. +> Also note that Entities with Composite Primary Keys cannot utilize the `IRepository` interface since it requires a single unique Id property. However, you can always implement `IRepository`. See [repositories documentation](Repositories.md) for more. + ### AggregateRoot Class From ad32a75250da1483c5eddb9a26cb73f1bba83a67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Mon, 2 Dec 2019 11:59:30 +0300 Subject: [PATCH 2/2] Update Entities.md --- docs/en/Entities.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/Entities.md b/docs/en/Entities.md index 4767fb0a15b..8ae7cdf2355 100644 --- a/docs/en/Entities.md +++ b/docs/en/Entities.md @@ -59,7 +59,7 @@ Entities with composite keys should implement the `GetKeys()` method as shown ab Notice that you also need to define keys of the entity in your **object-relational mapping** (ORM) configuration. -> Also note that Entities with Composite Primary Keys cannot utilize the `IRepository` interface since it requires a single unique Id property. However, you can always implement `IRepository`. See [repositories documentation](Repositories.md) for more. +> Also note that Entities with Composite Primary Keys cannot utilize the `IRepository` interface since it requires a single unique Id property. However, you can always use `IRepository`. See [repositories documentation](Repositories.md) for more. ### AggregateRoot Class