上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 30 下一页
摘要: Docker安装MySql并启动 2020-05-11 19:48:33 小道仙 1311阅读 1评论 一、安装Docker https://www.xdx97.com/article/708979301071978496 二、拉取MySql镜像 拉取最新版的MySql docker pull my 阅读全文
posted @ 2022-10-24 20:47 .net&new 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 1、单库事务 单库事务是针一个db操作执行的事务,无论是 ISqlSugarClient和 SqlSugarClient 用法都一样 try { db.Ado.BeginTran(); db.Insertable(new Order() { .....}).ExecuteCommand(); db. 阅读全文
posted @ 2022-10-23 12:21 .net&new 阅读(1261) 评论(0) 推荐(0) 编辑
摘要: 第一种:5个表以内 var query5 = db.Queryable<Order>() .LeftJoin<Custom> ((o, cus ) => o.CustomId == cus.Id)//多个条件用&& .LeftJoin<OrderDetail> ((o, cus, oritem) = 阅读全文
posted @ 2022-10-23 12:14 .net&new 阅读(2817) 评论(0) 推荐(0) 编辑
摘要: 1:api地址 2:文档地址 https://www.fedex.com/secure-login/zh-cn/#/login-credentials https://developer.fedex.com/api/zh-cn/home.html 3:注册账号 4:新建组织 5:新建项目 6:项目添 阅读全文
posted @ 2022-10-20 20:27 .net&new 阅读(677) 评论(1) 推荐(0) 编辑
摘要: 1:安装2个包 AutoMapper 和AutoMapper.Extensions.Microsoft.DependencyInjection 实体类: [SugarTable("UserInfo")] public class UserInfo { [SqlSugar.SugarColumn(Is 阅读全文
posted @ 2022-10-20 20:25 .net&new 阅读(50) 评论(0) 推荐(0) 编辑
摘要: using Microsoft.AspNetCore.Mvc;using RestSharp;using System.Net;using System.Text;using Newtonsoft.Json; public string Fed_GetAccessToken() { //grant_ 阅读全文
posted @ 2022-10-17 21:26 .net&new 阅读(138) 评论(0) 推荐(0) 编辑
摘要: c# 堆和栈 堆和栈一 :什么是堆和栈 线程堆栈:简称栈 Stack。托管堆: 简称堆 Heap。使用.Net框架开发程序的时候,我们无需关心内存分配问题,因为有GC这个大管家给我们料理一切。 什么是GC: 当我用new创建一个对象时,当可分配的内存不足GC就会去回收未使用的对象,但是GC的操作是非 阅读全文
posted @ 2022-10-16 09:09 .net&new 阅读(19) 评论(0) 推荐(0) 编辑
摘要: SELECT (@i:=@i+1) AS rownum , v.id,v.UserName FROM userinfo v, (SELECT @i := 0) AS i 阅读全文
posted @ 2022-10-15 16:24 .net&new 阅读(33) 评论(0) 推荐(0) 编辑
摘要: https://www.bilibili.com/video/BV1Hu411r7dt/?spm_id_from=333.337.search-card.all.click&vd_source=d87a0cdb006a04b60ce265a9ce85d6af eventBus可以在全局定义,实现全项 阅读全文
posted @ 2022-10-15 13:48 .net&new 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 直到ASP.NET Core 1.0 RC1: 它是System.Security.Claims命名空间中的User.GetUserId(). 自ASP.NET Core 1.0 RC2: 您现在必须使用UserManager.您可以创建一个方法来获取当前用户: private Task<Appli 阅读全文
posted @ 2022-10-15 12:45 .net&new 阅读(537) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 30 下一页