上一页 1 ··· 60 61 62 63 64 65 66 67 68 ··· 71 下一页
摘要: 之前写过一篇了 http://www.cnblogs.com/keatkeat/p/3903673.html 但某些部分写的不太清楚,甚至有点错误,所以今天特地在这里再来谈谈。 这篇主要是说指令的隔离还有和controller的沟通. 指令的运行过程基本上我们可以简单的理解为 : template 阅读全文
posted @ 2015-05-22 19:41 兴杰 阅读(2485) 评论(0) 推荐(1)
摘要: 这里我只会说说一些完成 file upload 的基础 API。很多项目我们需要上传文件。有简单的 input file, 有需要验证的,有需要压缩的(img),有需要分段的(video),有需要体验好(display on local, ajax & percent) 等等要完成以上的所有需求,我... 阅读全文
posted @ 2015-04-12 12:43 兴杰 阅读(1454) 评论(0) 推荐(0)
摘要: 参考 :http://www.ibm.com/developerworks/cn/opensource/os-cn-facebookapi/1.首先你要有 facebook page, 内容要公开, 登入admin-> setting -> general -> page visibility = ... 阅读全文
posted @ 2015-04-10 00:10 兴杰 阅读(604) 评论(0) 推荐(0)
摘要: 如果我们想在子查询做过滤的话应该怎样写呢? product - color , 1-n 可能你以为是这样,但是结果是 error : "The Include path expression must refer to a navigation property defined on the typ 阅读全文
posted @ 2015-03-20 14:00 兴杰 阅读(1097) 评论(0) 推荐(0)
摘要: 一般情况 UNIQUE 不应该出现nullable的 但是如果我们要支持也是有办法的,就是写一个filter. https://msdn.microsoft.com/en-us/library/ms187019.aspx <--参考 right click add New Index 时记得关掉ta 阅读全文
posted @ 2015-03-09 23:03 兴杰 阅读(259) 评论(0) 推荐(0)
摘要: D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATAdatabaseName.mdfdatabaseName.ldf在Microsoft SQL Server文件里有保存我们的database record.上面2个... 阅读全文
posted @ 2015-03-09 22:50 兴杰 阅读(236) 评论(0) 推荐(0)
摘要: 参考 :http://www.open-open.com/lib/view/open1397989124218.html开始时5个表1.user2.role3.task4.user_mm_role (n-n for user & role)5.role_mm_task (n-n for role &... 阅读全文
posted @ 2015-03-01 23:10 兴杰 阅读(233) 评论(0) 推荐(0)
摘要: EF 6 支持Enum 的处理 首先说一下 mysql 和 sql server 的区别 mysql 是有 Enum 这个类型的 , insert 时是放入 int , 出来的时候它会是 string (int to str 是设定在 mysql 内的) mssql 不支持 Enum 这个类型,也不 阅读全文
posted @ 2015-03-01 16:13 兴杰 阅读(484) 评论(0) 推荐(0)
摘要: 我用 MySql 2年了,一直都是 asp.net + MySql 开发为什么不用 MSSQL呢?原因 :在我的国家,几乎找不到任何一间托管公司有提供 SQL SERVER 的,有的话也是 2005 年的版本,不然就是非常高的价钱。我觉得很奇怪,为什么美国的托管公司也是 asp + mssql 但是... 阅读全文
posted @ 2015-03-01 13:20 兴杰 阅读(483) 评论(0) 推荐(0)
摘要: ng-options + select 就是 angular 的 DDL (drop down list) 了。 select value : {{ selectedValue }} var app = angular.module(... 阅读全文
posted @ 2015-02-25 21:56 兴杰 阅读(1048) 评论(0) 推荐(0)
上一页 1 ··· 60 61 62 63 64 65 66 67 68 ··· 71 下一页