摘要:using AutoMapper; using System; namespace AutomaperTest { class Program { static void Main(string[] args) { test1(); test2(); } static void test1() {
阅读全文
摘要:语法格式参考using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace EFQuerying.ComplexQuery { public class Sample {
阅读全文
摘要:延迟加载 nuget Microsoft.EntityFrameworkCore.Proxies using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Con
阅读全文
摘要:using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Configuration; using System.Text; namespace EFStudy
阅读全文
摘要:.NET的生态圈感觉还是太闭塞了,反观thinkphp,python,想学习的话,大把资料可以参考,也有大把视频可以学习,.NET这也收费,那也收费,不是说不尊重别人的劳动成果,而是我觉得大家有必要先把氛围带动起来,建立一个良好的生态圈,更多人学会,更多人会使用,加入到.NET里面来,才会有更好的发
阅读全文
摘要:1.SH公钥 git clone:地址 如果克隆出错,把标红的执行下就好 放到git上面的SSH设定 推送本地分支到远程 本地跟踪远程分支 远程分支拉去代码:
阅读全文
摘要:1.查看分支:git branch 2.创建并切换到分支:get checkout -b dev 3.git checkout master 切换回主分支 4.合并分支 git merge dev 5.删除分支 git branch -d dev 7. git stash 保存现场去修复bug分支
阅读全文
摘要:常用命令: 1.git add code.txt 2.git commit -m '版本1' 3.查看 git log 4.回退版本 git reset --hard HEAD~100 回退100个版本 git log 5.cat code.txt 6.git reset --hard序列化号 再回
阅读全文
摘要:application 应用层 MVC和core的中专 EF 基础设施层 mig 迁移层 webcore 1.多租户=》szjs.Core szjsConsts 里面 public const bool MultiTenancyEnabled = true; 生产迁移文件 add-migration
阅读全文
摘要:/// <summary> /// 数据源操作接口 /// </summary> public interface IDataSource { /// <summary> /// 获取数据 /// </summary> /// <returns></returns> string GetData()
阅读全文