1. Table per Hierarchy
基类和继承类存储在同一张数据表中,通过一个专门的字段(Identifier Column)进行区分。protected override void
OnModelCreating(DbModelBuilder modelBuilder){base.On....
分类:
其他好文 时间:
2014-05-29 02:36:10
阅读次数:
329
在多任务操作系统中,每个进程都运行在属于自己的内存沙盘中。这个沙盘就是虚拟地址空间(Virtual Address
Space),在32位模式下它是一个4GB的内存地址块。在Linux系统中,
内核进程和用户进程所占的虚拟内存比例是1:3,而Windows系统为2:2(通过设置Large-Add.....
分类:
系统相关 时间:
2014-05-29 00:10:54
阅读次数:
416
#导出大表:mysqldump --add-drop-table
--single-transaction --triggers -R -quick --disable-keys -utest -ptest -P5616
test > test.sql#仅导出表结构mysqldump --add-....
分类:
数据库 时间:
2014-05-29 00:03:48
阅读次数:
458
commit
87f8ac21ca6d2d086984dfc39b1869dc51ecd36fAuthor: Vitasic Date: Tue Jun 26
15:43:38 2012 +0400 Add Fake Playersdiff --git a/src/server/game/...
分类:
数据库 时间:
2014-05-28 04:43:05
阅读次数:
409
参考文件Yourphp\Lib\Action\User\PostAction.class.phppublic
function add() { $form=new Form(); $form->isadmin=0; $form->doThumb = ...
分类:
Web程序 时间:
2014-05-28 03:50:25
阅读次数:
334
1.下载egit插件打开Eclipse,git需要eclipse授权,通过网页是无法下载egit的安装包的。在菜单栏依次打开eclipse→help→install
new software→add,Name栏中输入egit,location栏中输入 http://download.eclipse....
分类:
系统相关 时间:
2014-05-28 02:59:18
阅读次数:
4490
这里从表格GridControl开始,零点零的入门,不会向大神一样写的深奥无比,一看你就会懂的1.首先拖一个表格上去,点击Run
Designer进入Columns编辑页;2.点击add添加字段,设置fieldName属性绑定字段;3.在初始化事件里编码gridControl1.DataSource...
分类:
其他好文 时间:
2014-05-28 01:33:58
阅读次数:
256
1.复制表 create table t2 like t1; insert into t2
select * from t1;2.索引 a. ALTER TABLE 用来创建普通索引,UNIQUE 索引和 PRIMARY KEY 索引 ALTER
TABLE table_name ADD...
分类:
数据库 时间:
2014-05-28 01:29:48
阅读次数:
335
类可以重载python的操作符操作符重载使我们的对象与内置的一样。__X__的名字的方法是特殊的挂钩(hook),python通过这种特殊的命名来拦截操作符,以实现重载。
python在计算操作符时会自动调用这样的方法,例如:如果对象继承了__add__方法,当它出现在+表达式中时会调用这个方法。通...
分类:
编程语言 时间:
2014-05-27 23:55:37
阅读次数:
416
/Files/yzhxhwt/DB_51aspx.rar第一种SUSE Linux
IP设置方法ifconfig eth0 192.168.1.22 netmask 255.255.255.0 uproute add default gw
192.168.1.2释义:#IP配置,包括子网掩码,看情况...
分类:
其他好文 时间:
2014-05-27 16:21:57
阅读次数:
320