语言

EntityViewContainer 类

定义

注意

The mechanism to provide pre-generated views has changed. Implement a class that derives from System.Data.Entity.Infrastructure.MappingViews.DbMappingViewCache and has a parameterless constructor, then associate it with a type that derives from DbContext or ObjectContext by using System.Data.Entity.Infrastructure.MappingViews.DbMappingViewCacheTypeAttribute.

设计时创建的类型的基类用于存储生成的视图。

[System.Obsolete("The mechanism to provide pre-generated views has changed. Implement a class that derives from System.Data.Entity.Infrastructure.MappingViews.DbMappingViewCache and has a parameterless constructor, then associate it with a type that derives from DbContext or ObjectContext by using System.Data.Entity.Infrastructure.MappingViews.DbMappingViewCacheTypeAttribute.", true)]
public abstract class EntityViewContainer
type EntityViewContainer = class
Public MustInherit Class EntityViewContainer
继承
EntityViewContainer
特性

构造函数

名称 说明
EntityViewContainer()
已过时.

设计时创建的类型的基类用于存储生成的视图。

属性

名称 说明
EdmEntityContainerName
已过时.

获取或设置 . 的名称 EntityContainer。

HashOverAllExtentViews
已过时.

视图的哈希值。

HashOverMappingClosure
已过时.

哈希值。

StoreEntityContainerName
已过时.

获取或设置 EntityContainer 存储架构。

ViewCount
已过时.

获取或设置视图计数。

方法

名称 说明
GetViewAt(Int32)
已过时.

返回指定索引处的键/值对,其中包含视图及其键。

适用于