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.
我有一个具有简单成员资格和实体框架代码优先迁移的 Web 应用程序设置。我想创建一个与数据库中的 pages_roles 表具有多对多关系的 POCO 类。看起来好像该表是在后端创建的,而不是使用标准创建的。EF POCO 类。
这里有很好的教程,展示了如何使简单成员表成为实体数据模型的一部分。可能会让你朝着正确的方向前进。