03 2023 档案
摘要://内存缓存 services.AddMemoryCache(); services.AddDistributedMemoryCache(); services.AddSession(opts => { opts.IdleTimeout = TimeSpan.FromHours(8); //设置Se
阅读全文
摘要:dbparameter是sqlparameter的基类 List<DbParameter> DbParameters = new List<DbParameter>(); var where = string.Empty; if (!string.IsNullOrWhiteSpace(Name))
阅读全文
摘要:services.AddTransient(typeof(IBaseRepository<,>), typeof(BaseRepository<,>)); 源文:https://www.cnblogs.com/RayWang/p/11165509.html
阅读全文
摘要:源文:https://www.cnblogs.com/pengchengzhong/p/6212378.html
阅读全文