配置实体数据源显示错误实体框架6.1.3 [英] Configure Entity Data Source Shows an Error Entity Framework 6.1.3

查看:77
本文介绍了配置实体数据源显示错误实体框架6.1.3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



当我尝试配置我的ASP .NET 4.5 WebForms项目和选定命名连接的EntityDataSource时,它弹出如下错误消息



无法加载连接字符串中指定的元数据。

考虑将Web项目重建为可能包含元数据的构建程序集

发生以下错误:



提供商未返回ProviderManifest实例。






我试过重新构建应用程序,还检查了数据库连接和关闭的解决方案并重新发生了同样的错误。



这里任何人都可以帮助我。



我在这个视频中尝试了一个例子链接:



https://www.youtube.com/watch?v=Z7713GBhi4k&list=PL6n9fhu94yhUPBSX-E2aJCnCR3-_6zBZx [ ^ ]

用于学习目的



报告的类似问题:

http://stackoverflow.com/questions/28920955/in-entity-framework- 6-why-user-interface-is-not-supported-in-microsoft-asp-ent [ ^ ]



先谢谢

Hi,
When I tried configuring the EntityDataSource of my ASP .NET 4.5 WebForms Project and Selected named connection , It Popups an Error message as below

"The metadata specified in the connection string could not be loaded.
Consider rebuilding the web project to built assemblies that may contain metadata
The following error(s) occurred:

The Provider did not return a ProviderManifest instance."



I have tried re-building the application , also checked database connectivity and closed solution and re-opned the same error occurs.

Can any one here help me on this.

I was trying an Example in this video Link:

https://www.youtube.com/watch?v=Z7713GBhi4k&list=PL6n9fhu94yhUPBSX-E2aJCnCR3-_6zBZx[^]
for learning purpose

similar problem reported:
http://stackoverflow.com/questions/28920955/in-entity-framework-6-why-user-interface-is-not-supported-in-microsoft-asp-ent[^]

Thanks in Advance

推荐答案

实体框架6不再支持向导项。您需要使用NuGet,然后完全手动操作。



底线...没有数据源的已使用实体框架。在页面加载或其他页面事件中执行并绑定到回收的集合或将集合加载到Datatable或其他东西。



我知道这是一个较旧的帖子,但问题将是继续进行谷歌搜索......
Entity Framework 6 no longer supports wizard items. You are expected to use NuGet instead, then work entirely manually.

Bottom line...used entity framework without the data source. Do in page load or other page event and bind to collection coming back or load collection into Datatable or something.

I know this is an older post, but the issue will keep coming up in google searches so...


这篇关于配置实体数据源显示错误实体框架6.1.3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆