- 博客(6)
- 收藏
- 关注
转载 DictionaryHelper2
/// <summary> /// DictionaryHelper /// </summary> public static class DictionaryHelper { /// <summary> /// Put 扩展字典方法 存在时更改,不存在时添加 ...
2017-09-14 13:45:00 86
转载 SqlHelper
/// <summary> /// SqlHelper操作类 /// </summary> public sealed partial class SqlHelper { /// <summary> /// 批量操作每批次记录数 /// </summ...
2017-09-13 18:46:00 60
转载 TransactionScope小例
1 public static class DataTableHelper { public static List<T> ToModel<T>(this DataTable dt) where T : class ,new() { if (dt == null || dt.Rows.C...
2017-09-13 18:42:00 71
转载 SQL 每行随机产生数字
select top 10 Id,Amount=FLOOR(RAND(ABS(CHECKSUM(NEWID()))) * 100) from Customer 转载于:https://www.cnblogs.com/zhshlimi/p/7515369.html
2017-09-13 15:53:00 83
转载 本地事务
1.本地事务 using System.Transactions; using (var ts = new TransactionScope(TransactionScopeOption.RequiresNew, new TransactionOptions { IsolationLevel = IsolationLevel.ReadCommitted })) ...
2017-09-11 15:48:00 46
转载 在OnActionExecuted 获取请求参数的值(包含类类型)
1.在OnActionExecuting里 获取请求参数的值 比较简单 /// <summary> /// 获取首参数的值 /// </summary> /// <param name="filterContext">The filter context.</param> ...
2017-09-08 16:45:00 1171
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人