CommonDAL封装: DBHelper: 接下来就是在BaseBLL中去调用DAL: Model_11 tss = new Model_11 { CreateDate = DateTime.Now, ERROR_CODE = ERROR_CODE, IDNO = IDNO, NAME = NAM ...
分类:
其他好文 时间:
2016-06-24 12:44:24
阅读次数:
187
T4 Templates and the Entity Framework https://msdn.microsoft.com/en-us/data/gg558520.aspx EF Designer Code Generation Templates https://msdn.microsoft ...
分类:
其他好文 时间:
2016-06-24 12:10:00
阅读次数:
123
Example 1 Project: thucydides File: PhantomJSCapabilityEnhancer.java View source code Vote up 6 votes public void enhanceCapabilities(DesiredCapabilit ...
分类:
编程语言 时间:
2016-06-24 06:57:49
阅读次数:
274
之前我们通过php对数据库的操作,实现了对数据的简单的增删改查。今天我们继续通过php对数据库的操作,来进一步完善相关的设计,今天我们要实现批量删除功能。 之前我们已经做出了查询页面,那么现在要实现批量删除功能,首先要给每个code前面加上复选框和相关操作按钮。我们早前已经通过遍历的方式经数据库里的 ...
分类:
Web程序 时间:
2016-06-23 21:58:59
阅读次数:
223
1 一个比系统自带的终端好用的软件:http://www.iterm2.com 2 学习和遇到技术问题可以去的网站: CocoaChina http://developer.cocoachina.com/code/index?key_rules=21 cocoaChina开发者代码库 Code4ap ...
分类:
移动开发 时间:
2016-06-23 20:22:52
阅读次数:
200
classC(object):
def__call__(self,*args,**kwargs):
print"I‘mcallable!calledwithargs:\n",args
c=C()
c(‘a‘,1)
single_code=compile("print‘hello,world!‘",‘‘,‘single‘)
exec(single_code)
eval_code=compile(‘100*3‘,‘‘,‘eval‘)
printeval(eval_code)
#exec_code=compile..
分类:
编程语言 时间:
2016-06-23 19:02:36
阅读次数:
219
1、 2、表“TableDetails”中列“IsPrimaryKey”的值为 DBNull 解决办法: http://stackoverflow.com/questions/33575109/mysql-entity-the-value-for-column-isprimarykey-in-tab ...
分类:
数据库 时间:
2016-06-23 18:52:19
阅读次数:
730
<!DOCTYPE html>(文件说明,表示使用的是html5)<html><head><title>我的页面</title><meta charset=utf-8></head><body><code><pre>int main(){ printf("hello\n"); return 0;<p ...
分类:
Web程序 时间:
2016-06-23 18:32:52
阅读次数:
150
本文转自:http://www.open-open.com/code/view/1423280939826 ...
分类:
编程语言 时间:
2016-06-23 16:01:47
阅读次数:
190
第一步redis安装:1、首先确认下载包为64位的还是32位的2、下载http://code.google.com/p/servicestack/downloads3、解压下载包得到以下文件:cygwin1.dllredis-benchmark.exe //性能测试,用以模拟同时N个客户端发送M个s ...
分类:
其他好文 时间:
2016-06-23 15:58:00
阅读次数:
154