• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
PowerCoder
博客园    首页    新随笔    联系   管理    订阅  订阅

随笔分类 -  EF Core 2.0 ManyToMany

Many-to-many relationships in EF Core 2.0 – Part 4: A more general abstraction

摘要:In the last few posts we saw how to hide use of the join entity from two entities with a many-to-many relationship. This post doesn’t add any addition 阅读全文
posted @ 2018-10-10 22:33 PowerCoder 阅读(452) 评论(0) 推荐(0)
Many-to-many relationships in EF Core 2.0 – Part 3: Hiding as ICollection

摘要:In the previous post we ended up with entities that hide the join entity from the public surface. However, it was not possible to add or removed entit 阅读全文
posted @ 2018-10-10 22:27 PowerCoder 阅读(409) 评论(0) 推荐(0)
Many-to-many relationships in EF Core 2.0 – Part 2: Hiding as IEnumerable

摘要:In the previous post we looked at how many-to-many relationships can be mapped using a join entity. In this post we’ll make the navigation properties 阅读全文
posted @ 2018-10-10 22:24 PowerCoder 阅读(382) 评论(0) 推荐(0)
Many-to-many relationships in EF Core 2.0 – Part 1: The basics

摘要:转载这个系列的文章,主要是因为EF Core 2.0在映射数据库的多对多关系时,并不像老的EntityFramework那样有原生的方法进行支持,希望微软在以后EF Core的版本中加入原生支持多对多关系的Fluent API,这样这个系列的文章就不需要看了~ As of EF Core 2.0, 阅读全文
posted @ 2018-10-10 22:19 PowerCoder 阅读(487) 评论(0) 推荐(0)

博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3