创建一个带有按钮的 UI,该按钮将在运行时动态创建 .edmx 文件
我想创建一个用户界面,应该让我可以选择从当前数据库中选择数据库并相应地创建其 .edmx 文件。
i want to create a user interface will should give me the option to select the database from the present ones and accordingly create its .edmx file.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
ADO.NET 团队发布了示例 EDMX 代码生成器项目。
它应该让您充分了解 ADO.NET 实体设计器如何在 Visual Studio 中生成代码,并希望通过一些示例源代码为您提供一个良好的开端。
The ADO.NET team released a Sample EDMX Code Generator project.
It's supposed to give you enough insight into how the ADO.NET Entity Designer generates code in Visual Studio and hopefully give you a head start with some sample source code.