摘要: 官网地址 http://redis.io/download Windows The Redis project does not officially support Windows. However, the Microsoft Open Tech group develops and maint 阅读全文
posted @ 2016-07-12 11:09 FH1004322 阅读(951) 评论(0) 推荐(0)
摘要: 1.新建自定义属性类 2.在相关的Controller类添加该自定义属性 3.设置不用验证的相关的方法允许匿名访问 阅读全文
posted @ 2016-07-05 17:41 FH1004322 阅读(921) 评论(0) 推荐(0)
摘要: Encapsulate Field (封装字段) 阅读全文
posted @ 2016-06-14 11:16 FH1004322 阅读(158) 评论(0) 推荐(0)
摘要: --14.1、NOT NULL:非空约束 --例如:姓名不能为空 CREATE TABLE person ( pid NUMBER , name VARCHAR(30) NOT NULL ) ; -- 插入数据 INSERT INTO person(pid,name) VALUES (11,'张三'); -- 错误的数据,会受到约束限制,无法插入 --14.2、 PRI... 阅读全文
posted @ 2016-04-07 15:16 FH1004322 阅读(382) 评论(0) 推荐(0)
摘要: SQL> SQL> show linesize linesize 80 SQL> set linesize 200 Desc emp; 描述Emp结构 Select * from tab; 查看该用户下的所有对象 Show user; 显示当前用 阅读全文
posted @ 2016-03-30 16:21 FH1004322 阅读(409) 评论(0) 推荐(0)
摘要: //DML语句(数据操作语言)Insert、Update、 Delete、Merge //DDL语句(数据定义语言)Create、Alter、 Drop、Truncate //DCL语句(数据控制语言)Grant、Revoke //事务控制语句Commit 、Rollback、Savepoint declare --定义变量 v_ename varchar2(5... 阅读全文
posted @ 2016-03-24 19:00 FH1004322 阅读(354) 评论(0) 推荐(0)
摘要: using (SqlConnection conn = new SqlConnection(connectionString)){ conn.Open(); SqlCommand comm = new SqlCommand(); comm.Connection = conn; ... 阅读全文
posted @ 2016-01-06 12:17 FH1004322 阅读(1129) 评论(0) 推荐(0)
摘要: -----------------------查看被锁表:------------------------------------select request_session_id spid,OBJECT_NAME(resource_associated_entity_id) tableNa... 阅读全文
posted @ 2015-12-22 15:35 FH1004322 阅读(403) 评论(0) 推荐(0)
摘要: Getting Started with Entity Framework 6 Code First using MVC 5http://www.asp.net/mvc/overview/getting-started/getting-started-with-ef-using-mvc/creati... 阅读全文
posted @ 2015-11-06 14:22 FH1004322 阅读(192) 评论(0) 推荐(0)
摘要: 原文链接:http://www.xcode.me/more/visual-studio-2015-new-features1、使用null条件运算符,在调用对象的属性或者方法时,我们通常需要检查对象是否为null,现在你不需要写一个if语句,我们提供更便捷的方法,下面的代码获取list中元素的数量,... 阅读全文
posted @ 2015-07-22 19:24 FH1004322 阅读(395) 评论(0) 推荐(0)