Abp.AutoMapper扩展(1) --static class AutoMapExtensions
// 摘要:
// 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);
最新文章
- Sharepoint学习笔记—习题系列--70-573习题解析 -(Q51-Q53)
- redis 优化
- jquery php ajax 表单验证
- bzoj 1821: [JSOI2010]Group 部落划分 Group
- IGeoFeatureLayer
- [BZOJ 4361]isn
- 【转】构建高性能WEB站点之 吞吐率、吞吐量、TPS、性能测试
- [No0000A5]批处理常用命令大全&;&;21个DOS常用命令
- 【转】Loadrunder场景设计篇——添加windows Resource计数器和指标说明
- 为IE内核的WebBrowser控件内存泄漏所烦恼的可以考虑用Cefsharp代替它!
- [心平气和读经典]The TCP/IP Guide(005)
- Maven实战系列文章目录
- CRF++使用说明
- c语言打印空白星号矩形
- 二分函数 lower_bound()
- PILE读书笔记_进程环境
- 【Mac系统】之Mysql数据库遇到修改数字密码的问题(SQL语法错误:ERROR 1064 (42000),密码策略等问题:ERROR 1819 (HY000))
- ubuntu下搭建的lamp环境新建站点
- CentOS 7.0 使用 yum 安装 MariaDB 及 简单配置
- Apache Kylin 是什么?