在EF5.0添加实体数据到数据库的时候,出现“对一个或多个实体的验证失败。有关详细信息,请参见“EntityValidationErrors”属性这个错误解决:SaveChanges前先关闭验证实体有效性(ValidateOnSaveEnabled)这个开关db.Configuration.Vali...
分类:
Web程序 时间:
2014-07-10 00:37:47
阅读次数:
213
A:这是没添加引用,你打资源管理的那个管口,在你当前的项目下面有一个引用的结点,你右键点击这个结点,选择添加引用,然后在选项卡的第一页中找到System.Configuration,然后确定就可以了using ExcelA:添加引用-COM组件-找到Excel-添加 -- 出不来就是你没找对或你系统...
分类:
其他好文 时间:
2014-07-07 23:54:54
阅读次数:
525
using System;using System.Collections.Generic;using System.Configuration;using System.Data;using System.Data.SqlClient;using System.Linq;using System....
分类:
数据库 时间:
2014-07-07 23:33:55
阅读次数:
264
所须要jar包:mybatis-3.x.x.jar 、假设须要和spring整合,还须要添?相关的包1:看项目文件夹 红颜色不要关心2:依照步骤:1:添?jar包2:创建数据源(configuration.xml)创建数据库(此处省略) ...
分类:
其他好文 时间:
2014-07-07 17:39:53
阅读次数:
163
Write something like this to automatically mount system drive:/dev/sda1 /media/win-c ntfs-3gauto,rw,suid,exec,async,users,locale=zh_CN.UTF-8 0 0...
分类:
其他好文 时间:
2014-06-30 13:30:17
阅读次数:
276
回忆今天所学。 今天学习了一些Linux系统的一些基本操作。 我是用Vmware虚拟机装的Ubuntu系统。 学习Linux的命令行指令,可以进入Ubuntu的terminal或者直接Ctrl+Alt+F1~F2 进入tty1~tty6的命令行,按Ctrl+Alt+F7或F8回到图形界面。...
分类:
系统相关 时间:
2014-06-30 13:03:36
阅读次数:
304
今天折腾了四个小时才把这个正确安装上,特此记录下。特别感谢群友的支持。在VMware上新安装了Debain7.5,具体细节不复述了。一、更新系统#apt-get update#apt-get upgrade二、构建编译环境#apt-get install build-essential#apt-ge...
分类:
其他好文 时间:
2014-06-30 12:38:53
阅读次数:
247
At present, there is a package named cvsd, which is a wrapper for cvs server running in pserver mode, so the cvs server configuration is easier than b...
分类:
其他好文 时间:
2014-06-30 12:28:42
阅读次数:
282
http://www.ilsistemista.net/index.php/virtualization/1-virtual-machines-performance-comparison.html?limitstart=0 Today, “Virtual machine” seems to be ...
分类:
其他好文 时间:
2014-06-29 20:23:58
阅读次数:
509
安装 Ubuntu 14 (64bit) + J2EE + Eclipse ======公司发了新本本, 配置还不错 -- 跑VM挺快. 于是在上面安装了Ubuntu的最新版本.基本配置为 **Win7 Host + VMWare Workstation + Ubuntu 64bit** 1. 安....
分类:
编程语言 时间:
2014-06-29 19:07:55
阅读次数:
265