Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5959129
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:38:31+00:00 2026-05-22T18:38:31+00:00

HI, I am using autommaper in my app and for now I have one

  • 0

HI,

I am using autommaper in my app and for now I have one problem. When I use ConstructUsing method for specify constructor to map object, after that Automapper copy all other fields by default convention. But I don’t need that. How I can set, that Mapper should use JUST constructor without copy anything else? Or the only way is to write custom Converter.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T18:38:32+00:00Added an answer on May 22, 2026 at 6:38 pm

    Use .ForAllMembers(opt => opt.Ignore()) to avoid additional mapping. Only method call will be performed in this case.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this interface for using AutoMapper: public interface IMapper { object Map(object source,
I'm using AutoMapper to map between a Linq Domain object and a ViewModel to
I am using Automapper to map between Entity and ViewModel object (in both directions).
I have a rather large object with lots of properties. I am using Automapper
I have an MVC app and I have started to use DTOs exclusively to
I have an MVC3 app which is using POCO classes separated into distinct layers.
Any idea how I can tell AutoMapper to resolve a TypeConverter constructor argument using
I am using automapper (successfully up to a point) to perform a polymorphic map
I have recently started using automapper and it has work fine for me so
Does anyone have a technique to automap (using Automapper) references to child entities. So

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.