Is it possible to directly reference a many-to-many table using entity framework, code first

前端 未结 4 1542
春和景丽
春和景丽 2021-01-08 00:05

I am using the entity framework and modelling a many-to-many relationship.

I have created the relationship between the two entities using the fluent API (let\'s say

4条回答
  •  悲&欢浪女
    2021-01-08 00:41

    Yes, you can! Check this out. Also, remove GroupMembers entity and IDbSet collection.

提交回复
热议问题