다음을 통해 공유


DbMappingViewCacheTypeAttribute 클래스

정의

컨텍스트 형식(또는 DbContext의 하위 클래스)과 연결된 매핑 뷰 캐시 형식(의 DbMappingViewCache하위 클래스ObjectContext)을 지정하는 사용자 지정 특성을 정의합니다. 캐시 형식은 런타임에 인스턴스화되고 해당 컨텍스트에서 미리 생성된 뷰를 검색하는 데 사용됩니다.

[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1019:DefineAccessorsForAttributeArguments")]
public sealed class DbMappingViewCacheTypeAttribute : Attribute
type DbMappingViewCacheTypeAttribute = class
    inherit Attribute
Public NotInheritable Class DbMappingViewCacheTypeAttribute
Inherits Attribute
상속
DbMappingViewCacheTypeAttribute
특성

생성자

DbMappingViewCacheTypeAttribute(Type, String)

컨텍스트 형식을 DbMappingViewCacheTypeAttribute 매핑 뷰 캐시 형식과 연결하는 instance 만듭니다.

DbMappingViewCacheTypeAttribute(Type, Type)

컨텍스트 형식을 DbMappingViewCacheTypeAttribute 매핑 뷰 캐시 형식과 연결하는 instance 만듭니다.

적용 대상