Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
more explicit documentation around Generate primary keys
  • Loading branch information
SeanMartz authored Jul 9, 2024
1 parent 928f769 commit 5c3b8a8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ This automates the process by just specifying what is equal to each other.
Mapper.Initialize(cfg =>
{
cfg.AddCollectionMappers();
// entity framework
cfg.SetGeneratePropertyMaps<GenerateEntityFrameworkPrimaryKeyPropertyMaps<DB>>();
// entity framework core
cfg.SetGeneratePropertyMaps<GenerateEntityFrameworkCorePrimaryKeyPropertyMaps<DB>>();
// Configuration code
});
```
Expand Down

0 comments on commit 5c3b8a8

Please sign in to comment.