如何将EntityFramework中的单一表为多个实体?
- 内容介绍
- 文章标签
- 相关推荐
本文共计556个文字,预计阅读时间需要3分钟。
概念+表:一个表成多个实体,例如Photograph表,可以为Photograph和PhotographFullImage两张表。
1、Photograph实体结构:using System; using System.Collections.Generic; using System.ComponentModel.DataAdapter;
概念
表拆分:一个表拆分成多个实体,例如Photograph表,可以拆分为Photograph和PhotographFullImage两张表。
本文共计556个文字,预计阅读时间需要3分钟。
概念+表:一个表成多个实体,例如Photograph表,可以为Photograph和PhotographFullImage两张表。
1、Photograph实体结构:using System; using System.Collections.Generic; using System.ComponentModel.DataAdapter;
概念
表拆分:一个表拆分成多个实体,例如Photograph表,可以拆分为Photograph和PhotographFullImage两张表。

