Skip to content

Commit 2997b5f

Browse files
uniquelaujeremydmiller
authored andcommitted
Update documentation on [Entity] attribute usage
Add link to the documentation for the [Entity] attribute. Currently if you search Entity on the docs, this EF core docs come up first, rather than the actual page, and I've had to search that one out a few times, so figured this will be a thing for other people. Whilst doing this, I've clarified that the loaded EF Core entity does not include related entities.
1 parent 6964a1b commit 2997b5f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/guide/durability/efcore/operations.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,4 +141,7 @@ public static class TodoHandler
141141

142142
Wolverine also supports the usage of the `[Entity]` attribute to load entity data by its identity with EF Core. As you'd
143143
expect, Wolverine can "find" the right EF Core `DbContext` type for the entity type through IoC service registrations.
144+
The loaded EF core entity does not included related entities.
144145

146+
For more information on the usage of this attribute see
147+
[Automatically loading entities to method parameters](/guide/handlers/persistence#automatically-loading-entities-to-method-parameters).

0 commit comments

Comments
 (0)