摘要: var dto=null; using (var uow = _unitOfWorkManager.Begin()) //使用unitofwork提交第一段数据插入或更新 { //保存主表逻辑 var return= _repository.insert(xx) dto=return.mapDto( 阅读全文
posted @ 2020-08-27 10:31 清新剂 阅读(158) 评论(0) 推荐(0) 编辑
摘要: AutoMapper.Collection.EFCore Configuration.Modules.AbpAutoMapper().Configurators.Add(config => { config.AddCollectionMappers(); } 阅读全文
posted @ 2020-08-20 17:23 清新剂 阅读(197) 评论(0) 推荐(0) 编辑
摘要: debug-for-chrome + js-debug-nightly 阅读全文
posted @ 2020-05-26 10:50 清新剂 阅读(144) 评论(0) 推荐(0) 编辑
摘要: You can use ALTER SESSION statements to set comparison to case-insensitive. See this FAQ. For all those visiting 8 years after this original answer ha 阅读全文
posted @ 2018-06-06 14:59 清新剂 阅读(411) 评论(0) 推荐(0) 编辑
摘要: npm install babel-polyfill --save import 'babel-polyfill' 阅读全文
posted @ 2017-06-26 20:39 清新剂 阅读(281) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-05-03 22:03 清新剂 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 迁移仓库 忽略历史 git pull origin master --allow-unrelated-histories 设置新源 git remote set-url origin [NEW_URL] 阅读全文
posted @ 2017-03-10 12:33 清新剂 阅读(85) 评论(0) 推荐(0) 编辑
摘要: new Vue({ el: '.app', data: { foo: 'test', }, computed: { _foo: { set: function(value) { this.foo = value; }, get: function() { return this.foo } } } 阅读全文
posted @ 2017-02-23 10:13 清新剂 阅读(425) 评论(0) 推荐(0) 编辑
摘要: Run migrations Run EntityFramework migrations to create database schema for blog module. To run migrations from command line, we first create an empty 阅读全文
posted @ 2016-05-31 22:31 清新剂 阅读(353) 评论(0) 推荐(0) 编辑
摘要: // (c) Copyright Microsoft Corporation.// This source is subject to the Microsoft Public License (Ms-PL).// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.// All other rights reserved.using System;using System.Reflection;using System.Resources;using System.Runtime.CompilerServi 阅读全文
posted @ 2013-08-20 11:30 清新剂 阅读(186) 评论(0) 推荐(0) 编辑