会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
alexmen
专注.net软件开发,项目管理体系PMBOK.
博客园
::
首页
::
博问
::
闪存
::
新随笔
::
联系
::
订阅
::
管理
::
公告
2016年8月2日
C# 过滤SQL 字符串中的 参数
摘要: /// /// 参数过滤 /// /// /// /// public static IEnumerable FilterParameters(IEnumerable parameters, string sql) { return p...
阅读全文
posted @ 2016-08-02 23:10 alexmen
阅读(1218)
评论(0)
推荐(0)
.Net Compact Framework SQliteHepler
摘要: /// /// 使用 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
阅读(232)
评论(0)
推荐(0)
C#创建泛型实例
摘要: /// <summary> /// 创建实例 支持泛型的创建 /// </summary> /// <typeparam name="T">此处T形如 Common<User></typeparam> /// <returns></returns> public static T Create<T>
阅读全文
posted @ 2016-08-02 23:01 alexmen
阅读(291)
评论(0)
推荐(0)
C#泛型转换函数
摘要: 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
阅读(3958)
评论(0)
推荐(0)
C#泛型转换
摘要: /// /// 泛型LIst转泛型list /// /// /// /// /// public static List ListToList( List inList) where T : class where V : c...
阅读全文
posted @ 2016-08-02 22:57 alexmen
阅读(466)
评论(0)
推荐(0)