EntityViewGenerationAttribute Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Attention
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.
Attribut pour marquer les assemblys qui contiennent le type de vues générées.
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
[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 sealed class EntityViewGenerationAttribute : Attribute
type EntityViewGenerationAttribute = class
inherit Attribute
Public NotInheritable Class EntityViewGenerationAttribute
Inherits Attribute
- Héritage
-
EntityViewGenerationAttribute
- Attributs
Constructeurs
EntityViewGenerationAttribute(Type) |
Obsolète.
Initialise une nouvelle instance de la classe EntityViewGenerationAttribute. |
Propriétés
ViewGenerationType |
Obsolète.
Obtient la valeur T:System.Type de la vue. |