如何将EntityFramework中的单一表为多个实体以提高性能?

2026-04-30 06:0710阅读0评论SEO基础
  • 内容介绍
  • 文章标签
  • 相关推荐

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

如何将EntityFramework中的单一表为多个实体以提高性能?

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

1、Photograph实体结构:

using System;using System.Collections.Generic;using System.ComponentModel.Data;

如何将EntityFramework中的单一表为多个实体以提高性能?

概念

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

阅读全文

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

如何将EntityFramework中的单一表为多个实体以提高性能?

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

1、Photograph实体结构:

using System;using System.Collections.Generic;using System.ComponentModel.Data;

如何将EntityFramework中的单一表为多个实体以提高性能?

概念

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

阅读全文