다음을 통해 공유


EntityViewGenerationAttribute 클래스

정의

주의

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.

생성된 뷰 형식을 포함하는 어셈블리를 표시하는 특성입니다.

[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
상속
EntityViewGenerationAttribute
특성

생성자

EntityViewGenerationAttribute(Type)
사용되지 않음.

EntityViewGenerationAttribute 클래스의 새 인스턴스를 초기화합니다.

속성

ViewGenerationType
사용되지 않음.

뷰에 대한 T:System.Type을 가져옵니다.

적용 대상