摘要: public class MongoDBSingleton { private static readonly MongoDBSingleton instance = new MongoDBSingleton(); private MongoDatabase _db; private MongoDBSingleton() { _db ... 阅读全文
posted @ 2018-04-09 16:05 nbu_djw 阅读(357) 评论(0) 推荐(0) 编辑
摘要: /// /// 获取分页列表 /// /// 要获取实体 /// 要获取的页数 /// 每页显示数量 /// 分页参数 /// 数据总数量 /// public static List GetPageList(int pageIndex, i... 阅读全文
posted @ 2017-08-14 08:52 nbu_djw 阅读(1315) 评论(0) 推荐(0) 编辑
摘要: 思路给类的属性加特性标签,重写savechanges方法,获取当前entry反射查看是否存在标记为通知修改做日志的属性。 阅读全文
posted @ 2016-09-05 10:15 nbu_djw 阅读(214) 评论(0) 推荐(0) 编辑
摘要: http://www.nopchina.net/post/nopcommerce-plugin-webapi.html 阅读全文
posted @ 2016-08-31 14:21 nbu_djw 阅读(1012) 评论(0) 推荐(0) 编辑
摘要: 方式一:path=%path%; D:\Program Files (x86)\Microsoft VS Code\Code.exestart Code 方式二: cd /d D:\Program Files (x86)\Microsoft VS Codestart Code.exe 启动IIS: 阅读全文
posted @ 2016-08-12 11:31 nbu_djw 阅读(721) 评论(0) 推荐(0) 编辑
摘要: msdn手册:https://msdn.microsoft.com/zh-cn/library/system.messaging.messagequeue.beginpeek(v=vs.80).aspx MSMQ 跨服务器读写队列的“消息队列系统的访问被拒绝”的解决方案: 服务器上消息队列权限设置: 阅读全文
posted @ 2016-08-12 09:23 nbu_djw 阅读(913) 评论(0) 推荐(0) 编辑
摘要: public void backup() { SqlConnection conn = new SqlConnection("Server=.;Database=master;User ID=sa;Password=1q2w3e4r"); SqlCommand cmd = new SqlCommand(); ... 阅读全文
posted @ 2016-06-16 15:50 nbu_djw 阅读(444) 评论(0) 推荐(0) 编辑
摘要: public delegate string CaptureHandler(string ip); public class CaptureService { public static string CapturePicture(string ip) { Threa... 阅读全文
posted @ 2016-06-15 10:38 nbu_djw 阅读(193) 评论(0) 推荐(0) 编辑
摘要: git教程 http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000 laravel教程 https://lvwenhan.com/laravel/432.html 阅读全文
posted @ 2016-05-16 16:20 nbu_djw 阅读(112) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/lqh4188/article/details/49300159 阅读全文
posted @ 2016-05-04 10:09 nbu_djw 阅读(192) 评论(0) 推荐(0) 编辑