EntityViewContainer Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
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.
Base class for the type created at design time to store the generated views.
[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
- Inheritance
-
EntityViewContainer
- Attributes
Constructors
EntityViewContainer() |
Properties
EdmEntityContainerName |
Gets or sets the name of EntityContainer. |
HashOverAllExtentViews |
Hash value of views. |
HashOverMappingClosure |
Hash value. |
StoreEntityContainerName |
Gets or sets EntityContainer in storage schema. |
ViewCount |
Gets or sets view count. |
Methods
GetViewAt(Int32) |
Returns the key/value pair at the specified index, which contains the view and its key. |
Applies to
Entity Framework