EntityViewContainer 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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) |
已过时.
返回指定索引处的键/值对,其中包含视图和其键。 |