上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 41 下一页
摘要: /// /// 申请提现 /// /// 用户id /// 提现金额 /// public int ApplyTakeCash(int userId, decimal amount) { if(IsExistUser(userId)) r... 阅读全文
posted @ 2016-05-26 14:53 大空白纸 阅读(396) 评论(0) 推荐(0) 编辑
摘要: 控制器controller中使用过滤器: 阅读全文
posted @ 2016-05-10 17:35 大空白纸 阅读(350) 评论(0) 推荐(0) 编辑
摘要: Http async / await 方式请求实例: 使用Task.Run(()=>{})方式执行 阅读全文
posted @ 2016-05-03 17:32 大空白纸 阅读(386) 评论(0) 推荐(0) 编辑
摘要: using Lemon.Common; using Lemon.WeChat.Model; using Lemon.WeChat.Services; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Senparc.Weixin.MP; using System; using System.Collections.Generic; ... 阅读全文
posted @ 2016-04-22 13:34 大空白纸 阅读(2813) 评论(0) 推荐(0) 编辑
摘要: 1.使用HttpClient 测试上传文件并且设置header信息: 阅读全文
posted @ 2016-04-22 13:32 大空白纸 阅读(646) 评论(0) 推荐(1) 编辑
摘要: 1.在数据库中创建一个自定义函数: 2.创建EF的数据库上下文: 引用 EntityFramework.Functions程序集 3.调用方式: 上面步骤已经使用EF调用数据库的函数了。 4.详细介绍EF怎样调用数据库中的存储过程与函数文档说明: https://weblogs.asp.net/di 阅读全文
posted @ 2016-04-08 14:56 大空白纸 阅读(5926) 评论(1) 推荐(2) 编辑
摘要: 一:下载log4net的程序集 下载地址: http://logging.apache.org/log4net/ 使用情况: 二、配置文件设置 Config配置文件log4net.xml <?xml version="1.0" encoding="utf-8" ?> <configuration> 阅读全文
posted @ 2016-03-10 14:35 大空白纸 阅读(366) 评论(0) 推荐(0) 编辑
摘要: //EF多重排序 context.Serials .Where(s => ("," + s.VideoGenreIds + ",").Contains("," + genreIds + ",") && s.IsEnable && !s.IsDel) .OrderByDescending(v => v 阅读全文
posted @ 2016-03-03 15:07 大空白纸 阅读(429) 评论(0) 推荐(0) 编辑
摘要: 如何将数据库中的表导入到PowerDesigner中 1、 打开PowerDesigner12,在菜单中按照如下方式进行操作file->Reverse Engineer->DataBase 点击后,弹出 New Physical Data Model 的对话框,如下图: 2、 在General选项卡 阅读全文
posted @ 2016-03-01 13:51 大空白纸 阅读(3914) 评论(0) 推荐(0) 编辑
摘要: 在网站开发中,如果有发布类似新闻的图文混排需求时,CKEditor不失为一个很好的选择,下载地址如下:http://ckeditor.com/download它的前身是FCKEditor,随着它的更新,上传图片的功能被分离出去了,现在如果需要实现上传图片,要么自己写代码,还有一种方法是使用CKFin... 阅读全文
posted @ 2016-01-27 11:26 大空白纸 阅读(2199) 评论(3) 推荐(0) 编辑
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 41 下一页