标签:-- public static tom new objects 参数 his obj
// 摘要:
// Converts an object to another using AutoMapper library. Creates a new object
// of TDestination. There must be a mapping between objects before calling this
// method.
// **利用AutoMapper将一个实体转换为另一个实体.创建一个新的TDestination的对象。在调用方法之前必须有一个映射
// 参数:
// source:
// Source object
// **原对象实体
// 类型参数:
// TDestination:
// Type of the destination object
// **目标对象类型
public static TDestination MapTo<TDestination>(this object source);
// 摘要:
// Execute a mapping from the source object to the existing destination object There
// must be a mapping between objects before calling this method.
// 执行一个从原类型到目标类型的映射
// 参数:
// source:
// Source object
//
// destination:
// Destination object
//
// 类型参数:
// TSource:
// Source type
//
// TDestination:
// Destination type
public static TDestination MapTo<TSource, TDestination>(this TSource source, TDestination destination);
Abp.AutoMapper扩展(1) --static class AutoMapExtensions
标签:-- public static tom new objects 参数 his obj
原文地址:https://www.cnblogs.com/Spinoza/p/9238442.html