Browse Source

Update docs/en/Community-Articles/2024-05-09-what-is-object-to-object-mapping/post.md

Co-authored-by: Engincan VESKE <enginveske@gmail.com>
pull/19759/head
Enes Doner 2 years ago
committed by GitHub
parent
commit
c1f3e94dc8
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      docs/en/Community-Articles/2024-05-09-what-is-object-to-object-mapping/post.md

2
docs/en/Community-Articles/2024-05-09-what-is-object-to-object-mapping/post.md

@ -108,7 +108,7 @@ In some scenarios you may want to make some customizations when matching. If you
public int Age { get; set; }
}
````
Autommapper cannot map this automatically, you need to specify the exception. Update your `YourApplicationAutoMapperProfile`.
AutoMapper can't map these properties automatically, because they do not exist in the source object, which is the `Customer` entity. Therefore, you need to specify the exception and update your `YourApplicationAutoMapperProfile` class as follows:
````csharp

Loading…
Cancel
Save