Skip to content

Commit 5c3b8a8

Browse files
authored
Update README.md
more explicit documentation around Generate primary keys
1 parent 928f769 commit 5c3b8a8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ This automates the process by just specifying what is equal to each other.
4545
Mapper.Initialize(cfg =>
4646
{
4747
cfg.AddCollectionMappers();
48+
// entity framework
4849
cfg.SetGeneratePropertyMaps<GenerateEntityFrameworkPrimaryKeyPropertyMaps<DB>>();
50+
// entity framework core
51+
cfg.SetGeneratePropertyMaps<GenerateEntityFrameworkCorePrimaryKeyPropertyMaps<DB>>();
4952
// Configuration code
5053
});
5154
```

0 commit comments

Comments
 (0)