Condividi tramite


EntityViewContainer Classe

Definizione

Attenzione

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.

Classe di base per il tipo creato in fase di progettazione per archiviare le viste generate.

[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
Ereditarietà
EntityViewContainer
Attributi

Costruttori

EntityViewContainer()
Obsoleti.

Classe di base per il tipo creato in fase di progettazione per archiviare le viste generate.

Proprietà

EdmEntityContainerName
Obsoleti.

Ottiene o imposta il nome dell'oggetto EntityContainer.

HashOverAllExtentViews
Obsoleti.

Valore hash delle visualizzazioni.

HashOverMappingClosure
Obsoleti.

Valore hash.

StoreEntityContainerName
Obsoleti.

Ottiene o imposta EntityContainer nello schema di archiviazione.

ViewCount
Obsoleti.

Ottiene o imposta il conteggio delle visualizzazioni.

Metodi

GetViewAt(Int32)
Obsoleti.

Restituisce la coppia chiave/valore in corrispondenza dell'indice specificato contenente la vista e la relativa chiave.

Si applica a