ABP Source Code Analysis 31: Abp.automapper

Source: Internet
Author: User

This module encapsulates the automapper to make it easier to use.

Describes the relationships between all the classes involved in the module change.

automapattribute,automapfromattribute and automaptoattribute : These three attribute are used to label the map direction of a class to another class.

automapperhelper: The map between types is done by invoking the AutoMapper API, based on the attributes of the class's Automap.

abpautomappermodule: 1. Find all the types in the project that have the Automap attribute labeled and complete the map between them. 2. Complete the localizablestring and string map.

automapextensions: Extended object. For example, the conversion between objects can be accomplished by means of the Mapto method of object.

Back to ABP source Analysis series Articles Directory

ABP Source Code Analysis 31: Abp.automapper

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.