摘要: 一、创建CompareFieldAttribute标识要比较的字段 二、比较操作类 三、单元测试 1、定义测试类 2、单元测试 3、测试结果 测试结果中输出了所有差异字段的相关信息 四、附件下载地址 下载地址 阅读全文
posted @ 2018-06-29 11:04 潇潇与偕 阅读(4738) 评论(0) 推荐(1) 编辑
摘要: using System; using System.Collections.Generic; using System.Data; using System.Reflection; namespace BT.Preservation.Models { public static class ExtendMethod { /// /// Data... 阅读全文
posted @ 2018-06-29 10:22 潇潇与偕 阅读(25038) 评论(0) 推荐(3) 编辑
摘要: using System; using System.Collections.Generic; using System.Data; using System.Reflection; namespace Common { public static class ExtendMethod { // DateTime --> long public ... 阅读全文
posted @ 2018-06-29 10:20 潇潇与偕 阅读(471) 评论(0) 推荐(0) 编辑