- 博客(3)
- 资源 (3)
- 收藏
- 关注
原创 Session 20 分钟过期,设置更长一些
/// <summary> ///将用户的所有信息保存入会话Session中 /// </summary> /// <returns></returns> public static void SetLogin(Se_LoginAccount acc, HttpS...
2018-09-21 15:17:54 756
原创 设置事务超时时间,事务隔离级别
public int GetTransactionTimeout(out string msg) { msg = string.Empty; try { //数据库中取 var model = GetModel("0003");...
2018-09-21 14:57:29 2938
原创 关于“锁”的问题,项目比较大的情况下不能直接随便的加乐观锁,不想麻烦改数据库,不想用lock排队等
private static Dictionary<int, object> lockObj = new Dictionary<int, object>(); private object getObj(int bedId) { object o = null; bool haveVal...
2018-09-21 14:49:33 229
StimulsoftReports.Net Web
2020-10-22
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人