摘要:
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading; using System.T 阅读全文
posted @ 2021-08-07 23:06
qingjiawen
阅读(316)
评论(0)
推荐(0)
摘要:
class Program { static long _sum; static void Main() { // _sum // 简单的自增/自减操作: Interlocked.Increment (ref _sum); // 1 Interlocked.Decrement (ref _sum); 阅读全文
posted @ 2021-08-07 22:37
qingjiawen
阅读(109)
评论(1)
推荐(0)
摘要:
// // 摘要: // The state in which an entity is being tracked by a context. public enum EntityState { // // 摘要: // The entity is not being tracked by the 阅读全文
posted @ 2021-08-07 16:32
qingjiawen
阅读(259)
评论(0)
推荐(0)
摘要:
public class EFCoreDbContext:DbContext { private string strConn = "Server=.;Database=EFCoreDB01;Trusted_Connection=True"; public EFCoreDbContext(strin 阅读全文
posted @ 2021-08-07 13:56
qingjiawen
阅读(132)
评论(0)
推荐(0)
摘要:
什么是负载均衡?先举个例子吧。以超市收银为例,假设现在只有一个窗口、一个收银员: 一般情况下,收银员平均 2 分钟服务一位顾客,10 分钟可以服务 5 位顾客;到周末高峰期时,收银员加快收银,平均 1 分钟服务一位顾客,10 分钟最多服务 10 位顾客,也就是说一个顾客最多等待 10 分钟;逢年过节 阅读全文
posted @ 2021-08-07 10:57
qingjiawen
阅读(464)
评论(0)
推荐(0)

浙公网安备 33010602011771号