alexmen

专注.net软件开发,项目管理体系PMBOK.

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2016年8月2日

摘要: /// /// 参数过滤 /// /// /// /// public static IEnumerable FilterParameters(IEnumerable parameters, string sql) { return p... 阅读全文
posted @ 2016-08-02 23:10 alexmen 阅读(1211) 评论(0) 推荐(0) 编辑

摘要: /// /// 使用 System.Data.SQLite.dll 版本 1.0.102.0 官方例子名称:sqlite-netFx35-binary-PocketPC-ARM-2008-1.0.102.0 /// public class SqliteHelper { private readonly static string ... 阅读全文
posted @ 2016-08-02 23:08 alexmen 阅读(209) 评论(0) 推荐(0) 编辑

摘要: /// <summary> /// 创建实例 支持泛型的创建 /// </summary> /// <typeparam name="T">此处T形如 Common<User></typeparam> /// <returns></returns> public static T Create<T> 阅读全文
posted @ 2016-08-02 23:01 alexmen 阅读(274) 评论(0) 推荐(0) 编辑

摘要: public static IList ConvertToList(DataTable dt) where T : new() { List list = new List(); T model = default (T); foreach (DataRow dr in dt.Rows) ... 阅读全文
posted @ 2016-08-02 23:00 alexmen 阅读(3943) 评论(0) 推荐(0) 编辑

摘要: /// /// 泛型LIst转泛型list /// /// /// /// /// public static List ListToList( List inList) where T : class where V : c... 阅读全文
posted @ 2016-08-02 22:57 alexmen 阅读(442) 评论(0) 推荐(0) 编辑