Convention-based mapping
1 post about Convention-based mapping by 1 contributor.
Know Convention-based mapping? Share what you know with developers who are learning it.
- Articles
- 1
- Contributors
- 1
Articles about Convention-based mapping
- Article · .NET Core
AutoMapper in ASP.Net Core 7 Web API
When developing apps, it's common to wish to map items to either comparable or different kinds. Why do you frequently require this? The database tables of the employed database are typically mapped with the models (also known as entities) in an application. As a result, there is frequently a discrepancy between the model class properties and the data transfer object class properties. You may run into issues because of having to write a lot of boilerplate code to convert instances of disparate types. A large application, like an ERP, could require a lot of models and data transfer object classes. Writing code to perform the mapping manually would be time-consuming. Here, programs like AutoMapper can be useful.

