Open opty-net opened 3 years ago
Imagine we have 50 tables or so. It contradicts the DRY principle. Writing all the mappers would be a waste of time. It is possible not to have any dependency on EF in domain classes and have only one set of entities.
https://github.com/Pjeckowski/StarWarsAPI/blob/8fa85a80f45c8a326ec4484430434912c8c487d7/StarWars.Repository/DbModels/Character.cs#L6