如何将EntityFramework中的单一表为多个实体?

2026-03-30 10:530阅读0评论SEO教程
  • 内容介绍
  • 文章标签
  • 相关推荐

本文共计556个文字,预计阅读时间需要3分钟。

如何将EntityFramework中的单一表为多个实体?

概念+表:一个表成多个实体,例如Photograph表,可以为Photograph和PhotographFullImage两张表。

1、Photograph实体结构:using System; using System.Collections.Generic; using System.ComponentModel.DataAdapter;

如何将EntityFramework中的单一表为多个实体?

概念

表拆分:一个表拆分成多个实体,例如Photograph表,可以拆分为Photograph和PhotographFullImage两张表。

阅读全文

本文共计556个文字,预计阅读时间需要3分钟。

如何将EntityFramework中的单一表为多个实体?

概念+表:一个表成多个实体,例如Photograph表,可以为Photograph和PhotographFullImage两张表。

1、Photograph实体结构:using System; using System.Collections.Generic; using System.ComponentModel.DataAdapter;

如何将EntityFramework中的单一表为多个实体?

概念

表拆分:一个表拆分成多个实体,例如Photograph表,可以拆分为Photograph和PhotographFullImage两张表。

阅读全文