Blog

Entries for 'entity framework'

Duplicating related Entities using Entity Framework Core

This blog will show how to use Entity Framework Core to copy multiple related entities stored in a SQL database while maintaining their keyed relationships. While EF Core doesn’t offer a `Copy` method, there are simple ways to duplicate an e...