DbMappingViewCacheTypeAttribute Class
Defines a custom attribute that specifies the mapping view cache type (subclass of DbMappingViewCache ) associated with a context type (subclass of ObjectContext or DbContext ). The cache type is instantiated at runtime and used to retrieve pre-generated views in the corresponding context.
Assembly: EntityFramework (in EntityFramework.dll)
System.Attribute
System.Data.Entity.Infrastructure.MappingViews.DbMappingViewCacheTypeAttribute
Name | Description | |
---|---|---|
![]() | DbMappingViewCacheTypeAttribute(Type, String) | Creates a DbMappingViewCacheTypeAttribute instance that associates a context type with a mapping view cache type. |
![]() | DbMappingViewCacheTypeAttribute(Type, Type) | Creates a DbMappingViewCacheTypeAttribute instance that associates a context type with a mapping view cache type. |
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.