摘要:
var dto=null; using (var uow = _unitOfWorkManager.Begin()) //使用unitofwork提交第一段数据插入或更新 { //保存主表逻辑 var return= _repository.insert(xx) dto=return.mapDto( 阅读全文
摘要:
AutoMapper.Collection.EFCore Configuration.Modules.AbpAutoMapper().Configurators.Add(config => { config.AddCollectionMappers(); } 阅读全文
摘要:
debug-for-chrome + js-debug-nightly 阅读全文
摘要:
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 阅读全文
摘要:
npm install babel-polyfill --save import 'babel-polyfill' 阅读全文
摘要:
迁移仓库 忽略历史 git pull origin master --allow-unrelated-histories 设置新源 git remote set-url origin [NEW_URL] 阅读全文
摘要:
new Vue({ el: '.app', data: { foo: 'test', }, computed: { _foo: { set: function(value) { this.foo = value; }, get: function() { return this.foo } } } 阅读全文
摘要:
Run migrations Run EntityFramework migrations to create database schema for blog module. To run migrations from command line, we first create an empty 阅读全文
摘要:
// (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 阅读全文