We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Welcome to the AutoMapper.Collection wiki!
this how to use it in your asp core 8+ project
in the program.cs file add (after AddDbContext service if you are using AutoMapper.Collection.EntityFrameworkCore)
AddDbContext
AutoMapper.Collection.EntityFrameworkCore
builder.Services.AddAutoMapper(cfg => { // for collection cfg.AddCollectionMappers(); // for entity framework core cfg.UseEntityFrameworkCoreModel<DB>(builder.Services); }, typeof(MappingProfile).Assembly);