This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## config sources | |
sudo vim /etc/apt/sources.list | |
#网易源(速度很快) | |
deb http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse | |
deb-src http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse | |
deb http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricted | |
deb-src http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricted | |
deb http://mirrors.163.com/ubuntu/ precise-updates universe main multiverse restricted | |
deb http://mirrors.163.com/ubuntu/ precise-proposed universe main multiverse restricted |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this guide is based on http://ruby-china.org/wiki/install_ruby_guide and linuxmint | |
# -------what'new----- | |
# fixed some bug | |
# add solution for common errors | |
# 2013-10-17 | |
# install sqlite3 | |
sudo apt-get install libsqlite3-dev | |
# 2013-8-15 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 准备工作 | |
[从全新数据库开始](http://msdn.microsoft.com/en-us/data/jj193542) | |
[从已有的数据库开始](http://msdn.microsoft.com/en-us/data/jj200620) | |
*值得注意的是需要安装Nuget和Power Tools两个插件,并且保证你的EF是5.0* | |
## 模型 | |
对于需要返回多个模型到同一个视图的情况,可以采用如下的方式: |
NewerOlder