上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 22 下一页
摘要: 转自:http://www.cnblogs.com/oppoic/p/6165581.html Redis缓存服务器是一款key/value数据库,读110000次/s,写81000次/s,因为是内存操作所以速度飞快,常见用法有存用户令牌、短信验证码等 官网显示Redis本身并没有Windows版本 阅读全文
posted @ 2017-06-27 10:56 Ace001 阅读(305) 评论(3) 推荐(0)
摘要: 1.nuget安装postsharp 2.编写attribute标记 [Serializable] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = true)] public class Custo 阅读全文
posted @ 2017-06-22 16:39 Ace001 阅读(556) 评论(0) 推荐(0)
摘要: 1.winform用法: nuget安装autofac var service = container.Resolve<UserService>(); //解析;并没有实例化new UserService也没有传入构造函数参数,autofac自动注入了 if (service!=null) { va 阅读全文
posted @ 2017-06-22 14:51 Ace001 阅读(687) 评论(3) 推荐(0)
摘要: 要实现join字符串 select * FROM table1 as t1 right join (select '1,2,3,4,5' as t) as tt on t1.Id=tt.t 则需要分割字符串为数组,以下为实现的分割字符串函数split split函数及使用示例: select * F 阅读全文
posted @ 2017-06-16 09:38 Ace001 阅读(4877) 评论(0) 推荐(0)
摘要: /* 获取字符串数组的 Table www.cnblogs.com/xqhppt/p/4377757.html*/ if exists (select 1 from sysobjects where id = object_id('split' )) drop Function splitgoCRE 阅读全文
posted @ 2017-06-15 17:17 Ace001 阅读(2170) 评论(0) 推荐(0)
摘要: 引用B.dll后,右键引用中的B.dll属性->别名->Test using的最前面加上 extern alias Test; 使用 Test.MyClass.DoSth(); 阅读全文
posted @ 2017-06-13 16:07 Ace001 阅读(1987) 评论(0) 推荐(0)
摘要: 1.安装 mysql connector net 6.9.9 https://dev.mysql.com/downloads/file/?id=463758 和mysql for visual studio 1.2.6 2.nuget安装 Install-Package MySql.Data.Ent 阅读全文
posted @ 2017-05-26 11:25 Ace001 阅读(812) 评论(0) 推荐(0)
摘要: <html><body><fieldset> <legend>测试</legend> <div class="form-group"> <div class="img-preview rl"> <form id="index_form1" name="index_form1" role="form" 阅读全文
posted @ 2017-05-12 13:31 Ace001 阅读(677) 评论(0) 推荐(0)
摘要: 类型 xx 的成员 xxx 是接口,因此无法将其序列化。 修改.tt模板文件,添加以下标红两行 <# foreach (var navigationProperty in navigationProperties) { #> [Newtonsoft.Json.JsonIgnore] [System. 阅读全文
posted @ 2017-05-02 10:29 Ace001 阅读(1155) 评论(1) 推荐(1)
摘要: 直接分离附加是不行的. 操作步骤如下: 在sqlserver2008企业管理器中 右键xx数据库->任务->生成脚本 弹出框中勾选 为所选数据库中的所有对象编写脚本 下一步 修改如下图片提示部分 一路下一步,直到所有创建表结构语句与数据插入语句出现在查询分析器中, 拷贝查询分析器中的sql语句到sq 阅读全文
posted @ 2017-04-11 17:28 Ace001 阅读(1169) 评论(0) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 22 下一页