这是微软官方教程Getting Started with Entity Framework 6
Code First using MVC 5 系列的翻译,这里是第六篇:为ASP.NET MVC应用程序更新相关数据原文:Updating Related
Data with the Entity Fra...
分类:
Web程序 时间:
2014-05-17 01:28:45
阅读次数:
510
/** * Created with IntelliJ IDEA. * User:
li_zhe * Date: 14/05/06 * Time: 12:34 * To change this template use File |
Settings | File Templates. */pack...
分类:
其他好文 时间:
2014-05-16 22:09:34
阅读次数:
431
以我的经验,大部分技术,熟读下列四类书籍即可。入门,用浅显的语言和方式讲述正确的道理和方法,如head
first系列全面,巨细无遗地探讨每个细节,遇到疑难问题时往往可以在这里得到理论解答,如Definitive Guide/Programming
xx系列实践,结合实际中经常遇到的情景环境,来描述...
分类:
编程语言 时间:
2014-05-13 17:40:51
阅读次数:
328
效果图:
程序代码:
bool HelloWorld::init()
{
//////////////////////////////
// 1. super init first
if ( !CCLayer::init() )
{
return false;
}
CCSize visibleSize =...
分类:
移动开发 时间:
2014-05-13 16:27:03
阅读次数:
402
0.等待队列
在Linux内核中等待队列有很多用途,可用于中断处理、进程同步及定时。我们在这里只说,进程经常必须等待某些事件的发生。等待队列实现了在事件上的条件等待: 希望等待特定事件的进程把自己放进合适的等待队列,并放弃控制全。因此,等待队列表示一组睡眠的进程,当某一条件为真时,由内核唤醒它们。
等待队列由循环链表实现,由等待队列头(wait_queue_head_t)和等待队列...
分类:
其他好文 时间:
2014-05-13 16:03:28
阅读次数:
370
在CSS布局中float属性经常会被用到,但使用float属性后会使其在普通流中脱离父容器,让人很苦恼
1 浮动带来布局的便利,却也带来了新问题
1 doctype html>
2 html lang="en">
3 head>
4 meta charset="UTF-8">
5 title>Clear floattitle>
6 style...
分类:
Web程序 时间:
2014-05-13 15:03:50
阅读次数:
385
按javaweb王者归来做strut2练习使用<struts:headtheme:"ajax">报错org.apache.jasper.JasperException:Template/template/ajax/head.ftlnotfound加入struts2-dojo-plugin-2.1.6包并在jsp里引入<%@taglibprefix="sx"uri="/struts-dojo-tags"%><sx:head/>这是..
分类:
Web程序 时间:
2014-05-13 13:00:55
阅读次数:
854
<!doctypehtml>
<html>
<metacharset="utf-8"/>
<head>
<title>益司CMS-PC与手机建站集成</title>
<metaname="viewport"content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
<linkrel="stylesh..
分类:
其他好文 时间:
2014-05-13 11:58:21
阅读次数:
335
1 #include 2 #include 3 4 typedef struct node { 5
int data; 6 node * next; 7 }Node, *pNode; 8 9 pNode CreateList() {10 pNode head,
p1...
分类:
其他好文 时间:
2014-05-13 10:46:30
阅读次数:
297