SuppressDbSetInitializationAttribute 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
이 특성은 전체 파생 DbContext 클래스 또는 해당 클래스의 개별 DbSet<TEntity> 또는 IDbSet<TEntity> 속성에 적용할 수 있습니다. 적용된 경우 검색된 DbSet<TEntity> 속성 또는 IDbSet<TEntity> 속성은 여전히 모델에 포함되지만 자동으로 초기화되지는 않습니다.
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=false)]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", Justification="Casing is intentional")]
public sealed class SuppressDbSetInitializationAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=false)]
public sealed class SuppressDbSetInitializationAttribute : Attribute
type SuppressDbSetInitializationAttribute = class
inherit Attribute
Public NotInheritable Class SuppressDbSetInitializationAttribute
Inherits Attribute
- 상속
-
SuppressDbSetInitializationAttribute
- 특성
생성자
| SuppressDbSetInitializationAttribute() |
이 특성은 전체 파생 DbContext 클래스 또는 해당 클래스의 개별 DbSet<TEntity> 또는 IDbSet<TEntity> 속성에 적용할 수 있습니다. 적용된 경우 검색된 DbSet<TEntity> 속성 또는 IDbSet<TEntity> 속성은 여전히 모델에 포함되지만 자동으로 초기화되지는 않습니다. |