关于使用 Entity Framework 4 时数据库模型文档的建议

发布于 2024-08-31 15:46:46 字数 206 浏览 2 评论 0原文

关于如何记录基于 Entity Framework 4 的数据库项目有什么经验吗?

实体上有文档和摘要属性,但如果我们想在某个时刻从数据库重新生成模型,它就会丢失!

是否有某种方法可以将 SQL 内的文档数据映射到 EDMX 文件中的实体,以便安全。

其他最佳实践的建议?理想情况下,我希望能够在部署时从数据库生成 html/helpfile 文档。

Any experiences on how to document Entity Framework 4 based Database projects?

There is the Document and Summary properties on the Entities, but if we want to regenerate the model from the database at some point, it will be lost!

Is there some way to map documentation data inside SQL to the Entities in the EDMX file so it is safe.

Suggestions of other best practices? Ideally I want to be able to augo generate html/helpfile documentation from the DB when we deploy.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

你穿错了嫁妆 2024-09-07 15:46:46

您关于如果重新生成则 CSDL(EDMX 的一部分)更改将丢失的说法不正确。这不是 LINQ to SQL。 CSDL 更改在更新期间保留。

Your statement that CSDL (part of EDMX) changes will be lost if you regenerate is incorrect. This is not LINQ to SQL. CSDL changes are retained during an update.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文