EntityViewGenerationAttribute Class
Note: This API is now obsolete.Namespace:
System.Data.Entity.Core.Mapping
Assembly: EntityFramework (in EntityFramework.dll)
Attribute to mark the assemblies that contain the generated views type.
Assembly: EntityFramework (in EntityFramework.dll)
[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
Name | Description | |
---|---|---|
![]() | EntityViewGenerationAttribute(Type) | Initializes a new instance of the EntityViewGenerationAttribute class. |
Name | Description | |
---|---|---|
![]() | TypeId | (Inherited from Attribute.) |
![]() | ViewGenerationType | Gets the T:System.Type of the view. |
Name | Description | |
---|---|---|
![]() | Equals(Object) | (Inherited from Attribute.) |
![]() | GetHashCode() | (Inherited from Attribute.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IsDefaultAttribute() | (Inherited from Attribute.) |
![]() | Match(Object) | (Inherited from Attribute.) |
![]() | ToString() | (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() ![]() | _Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute.GetTypeInfoCount(UInt32) | (Inherited from Attribute.) |
![]() ![]() | _Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) | (Inherited from Attribute.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.