EntityViewGenerationAttribute Class

 
Note: This API is now obsolete.

Attribute to mark the assemblies that contain the generated views type.

Namespace:   System.Data.Entity.Core.Mapping
Assembly:  EntityFramework (in EntityFramework.dll)

System.Object
  System.Attribute
    System.Data.Entity.Core.Mapping.EntityViewGenerationAttribute

[ObsoleteAttribute("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)]
[AttributeUsageAttribute(AttributeTargets.Assembly, AllowMultiple = true)]
public sealed class EntityViewGenerationAttribute : Attribute

NameDescription
System_CAPS_pubmethodEntityViewGenerationAttribute(Type)

Initializes a new instance of the EntityViewGenerationAttribute class.

NameDescription
System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

System_CAPS_pubpropertyViewGenerationType

Gets the T:System.Type of the view.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.