EntityViewGenerationAttribute Classe
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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.
Attributo per contrassegnare gli assembly che contengono il tipo di viste generate.
[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
- Ereditarietà
-
EntityViewGenerationAttribute
- Attributi
Costruttori
EntityViewGenerationAttribute(Type) |
Obsoleti.
Inizializza una nuova istanza della classe EntityViewGenerationAttribute. |
Proprietà
ViewGenerationType |
Obsoleti.
Ottiene l'oggetto T:System.Type della vista. |