功能:根据用户展示pn的相关信息,能搜索具体的pn, 可以分页 ...
分类:
编程语言 时间:
2017-07-07 20:08:00
阅读次数:
459
Code-First数据迁移 首先要通过NuGet将EF升级至最新版本。 新建MVC 4项目MvcMigrationDemo 添加数据模型 Person 和 Department,定义如下: 添加控制器 PersonController 调试,网址输入http://localhost:7139/Pe ...
分类:
其他好文 时间:
2017-07-07 20:02:31
阅读次数:
395
一、下载源码 进入官网http://tomcat.apache.org,点击Download>tomcat9>Source Code Distributions>zip 下载并解压 或者从svn库检出源代码,svn路径http://svn.apache.org/repos/asf/tomcat/tr ...
分类:
系统相关 时间:
2017-07-07 20:01:55
阅读次数:
260
转载:http://www.cnblogs.com/Anker/archive/2013/08/14/3258674.html 1、基本概念 IO多路复用是指内核一旦发现进程指定的一个或者多个IO条件准备读取,它就通知该进程。IO多路复用适用如下场合: (1)当客户处理多个描述字时(一般是交互式输入 ...
分类:
系统相关 时间:
2017-07-07 20:01:11
阅读次数:
282
WITHBOM(Father,ItemCode,Quantity,iLevel)AS(SELECTT0.Code,T1.Code,CONVERT(NUMERIC(23,15),T1.Quantity/T0.Qauntity)Quantity,1iLevelFROMOITTT0JOINITT1T1ONT0.Code=T1.FatherUNIONALLSELECTT0.Father,T2.Code,CONVERT(NUMERIC(23,15),(T2.Quantity/T1.Qauntity)*T0.Quanti..
分类:
其他好文 时间:
2017-07-07 19:57:26
阅读次数:
126
I was running Eclipse Neon.2 and the Android SDK Build-tools + platform-tools version 26 on Mac OS 10.12.4 and none of the above answers (including th ...
分类:
移动开发 时间:
2017-07-07 19:53:53
阅读次数:
284
遍历List删除元素 方法一: 方法二: 遍历Map删除元素 方法一: 方法二: ...
分类:
其他好文 时间:
2017-07-07 19:53:44
阅读次数:
179
在Code First方法中,还可以通过Fluent API的方式来处理实体与数据表之间的映射关系。 要使用Fluent API必须在构造自定义的DbContext时,重写OnModelCreating方法,在此方法体内调用Fluent API。 如下面代码所示: public class Blog ...
准备工作: 1、 git-1.8.1.2-preview20130201.exe 下载地址: https://code.google.com/p/msysgit/downloads/list 2、 Copssh_4.1.0_Installer.exe 下载地址: http://download.cs ...
做物联网开发要用到云服务器,阿里云CES服务器、阿里云的物联网套件还不错,以下是可领取的优惠券。 https://m.aliyun.com/act/ambassador/sharetouserh5?userCode=f80889qb&productCode=vm&utm_source=f80889q ...
分类:
其他好文 时间:
2017-07-07 18:22:30
阅读次数:
161