Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我对从 DB 自动生成 EF 模型有一些问题。创建的实体不包含我在 DB 模式中添加的摘要(描述)。请帮忙。
如果您指的是数据库中列或表的描述,则这些信息不会由 Visual Studio 中的内置 EF 工具导入。您必须检查是否有任何其他第三方工具支持此功能,并且您还需要更新的代码生成器 (T4),它能够将此信息传递给生成的类。