Skip to content

Multiple mappings for the same types with different logics #2

@jivara

Description

@jivara

Hi,
Thanks for providing this wonderful tool "AutoMapper", just one thing i need so often, i need to create multiple CreateMap for same source and destination becuse for example sometimes i need to ignore navigational properties when mapping entity to DTO and in other cases i need to include them and i don't want to create multiple destination objects because for may case there will be explosion of objects created for this purpose
Thanks for your concern.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions