上一页 1 2 3 4 5 6 7 8 ··· 10 下一页
摘要: 1,nuget引入程序集 log4Net 2,nuget引入程序集 Microsoft.Extensions.Logging.Log4Net.AspNetCore 3,配置文件 log4net.Config <?xml version="1.0" encoding="utf-8"?> <log4ne 阅读全文
posted @ 2021-10-19 09:33 CelonY 阅读(47) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Net.Http; using System.Net.Http.Json; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { static async Ta 阅读全文
posted @ 2021-06-17 20:45 CelonY 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 一 数据迁移命令 //迁移命令 参数名 参数值 参数名 参数值 Add-Migration -Context FirstDbContext -OutputDir Migrations\FirstDbContextMigrations //迁移命令 参数名 参数值 Update-Database -C 阅读全文
posted @ 2021-06-12 20:26 CelonY 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 1 数据库不能分离(分离时,老提示占用) --查询数据库得连接Idselect spid from sysprocesses where dbid=db_id('test') kill 61 --这个是上边语句的查询结果 --分离数据库 use master go exec sp_detach_db 阅读全文
posted @ 2021-06-11 21:12 CelonY 阅读(32) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; using ZXing.Common; using ZXing; using ZXi 阅读全文
posted @ 2021-04-30 11:20 CelonY 阅读(245) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_41796956/article/details/85044152 https://www.cnblogs.com/logon/p/3748020.html left join(左联接) 返回包括左表中的所有记录和右表中联结字段相等的记录 r 阅读全文
posted @ 2021-04-07 09:39 CelonY 阅读(52) 评论(0) 推荐(0) 编辑
摘要: 轻量级: 1、 Dapper https://github.com/StackExchange/Dapper 2、PetaPoco https://github.com/CollaboratingPlatypus/PetaPoco 3、Massive https://github.com/Frans 阅读全文
posted @ 2021-03-05 14:16 CelonY 阅读(212) 评论(0) 推荐(0) 编辑
摘要: sql server连接oracle并实现增删改查 需要一个软件ODAC112040Xcopy_64bit 我连接的oracle是11g r2 sqlserver 是 2016 软件下载 https://pan.baidu.com/s/1OpYmpReEJcPg4wNESWy61Q 服务器先安装.n 阅读全文
posted @ 2021-02-26 21:13 CelonY 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 1、引用AcReport.dll组件 2、注册组件 /// <summary> /// 注册组件 /// </summary> AcReport.AcRptEngine mac; private void SetAcRegisterInfo() { int ErrCode = 0; string E 阅读全文
posted @ 2021-02-03 21:14 CelonY 阅读(322) 评论(0) 推荐(0) 编辑
摘要: 一、创建IdentityServer4服务器 1、创建一个ASP.NET Core空项目 2、创建一个Config类 using IdentityServer4.Models; using System.Collections.Generic; namespace Sample { public s 阅读全文
posted @ 2021-01-15 21:44 CelonY 阅读(391) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 10 下一页