Loading

摘要: What you have is a valid ADO.NET connection string - but it'sNOTa valid Entity Framework connection string.The EF connection string would look something like this:<add name="testEntities" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;prov 阅读全文
posted @ 2012-09-04 23:45 Dhoopu 阅读(5569) 评论(0) 推荐(0) 编辑
摘要: The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid要么是没有发现在配置中,指定的命名连接,不打算要用于EntityClient提供程序,或不是有效的解决办法:I suspect that your issue is coming from the fact that you have more than one project in your solution an 阅读全文
posted @ 2012-09-04 23:42 Dhoopu 阅读(1103) 评论(1) 推荐(1) 编辑
摘要: 1, 首先构建该JQuery教程实例中的index.html文件。代码如下:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>JQuery实例 - 生成年月日</title> 阅读全文
posted @ 2012-09-04 15:00 Dhoopu 阅读(4827) 评论(1) 推荐(0) 编辑
摘要: 今天刚学MVC的Razor,一起用了Entity Framework ,结果出现如下错误:CS0012: The type 'System.Data.Objects.DataClasses.EntityObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. 阅读全文
posted @ 2012-09-04 00:17 Dhoopu 阅读(1297) 评论(0) 推荐(0) 编辑