Skip to content

Commit

Permalink
Merge pull request #184 from SeanMartz/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
lbargaoanu authored Jul 11, 2024
2 parents 928f769 + 5c3b8a8 commit 5e23e0d
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 5e23e0d

Please sign in to comment.