从数据库生成DataContext(实体框架)
我曾经使用过一次实体框架的可下载附加组件,从互联网或 Nu-Get 生成带有 DataContext 的 DAL 和所有信息,方法是右键单击项目并选择“从数据库生成..”,它会创建一个填充的 DataContext包含所需的所有信息,包括表示数据的类。
由于某种原因我找不到它。有人知道我的意思并可以给我一个链接吗?
谢谢。
I've used once an downloadable add-on for entity framework, from the internet or Nu-Get to generate DAL with DataContext and all information by right clicking on the project and selecting "Generate.. From Database" and it creates a DataContext filled with all the information needed, including classes representing the data.
for some reason I cannt find it. does someone know what i mean and can give me a link for it?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它是 Visual Studio 扩展而不是 NuGet 包。在 VS 中,转到“工具”->“ Extension Manager 并在在线图库中搜索 Context 或 POCO。
It's a Visual Studio Extension not a NuGet package. In VS go to Tools -> Extension Manager and search for Context or POCO on the online Gallery.