언어

ConventionAnnotatable 클래스

정의

읽기 및 쓰기 규칙 주석을 지원하는 형식에 대한 기본 클래스입니다.

이 형식은 일반적으로 데이터베이스 공급자(및 기타 확장)에서 사용됩니다. 일반적으로 애플리케이션 코드에는 사용되지 않습니다.

[System.Runtime.CompilerServices.Nullable(0)]
public abstract class ConventionAnnotatable : Microsoft.EntityFrameworkCore.Infrastructure.Annotatable, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable
public abstract class ConventionAnnotatable : Microsoft.EntityFrameworkCore.Infrastructure.Annotatable, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable
[<System.Runtime.CompilerServices.Nullable(0)>]
type ConventionAnnotatable = class
    inherit Annotatable
    interface IConventionAnnotatable
    interface IReadOnlyAnnotatable
    interface IMutableAnnotatable
type ConventionAnnotatable = class
    inherit Annotatable
    interface IConventionAnnotatable
    interface IAnnotatable
    interface IMutableAnnotatable
type ConventionAnnotatable = class
    inherit Annotatable
    interface IConventionAnnotatable
    interface IReadOnlyAnnotatable
    interface IMutableAnnotatable
Public MustInherit Class ConventionAnnotatable
Inherits Annotatable
Implements IConventionAnnotatable
상속
ConventionAnnotatable
상속
ConventionAnnotatable
특성
구현

설명

자세한 내용 및 예제는 데이터베이스 공급자 및 확장 구현을 참조하세요.

생성자

속성 Description
ConventionAnnotatable()

읽기 및 쓰기 규칙 주석을 지원하는 형식에 대한 기본 클래스입니다.

이 형식은 일반적으로 데이터베이스 공급자(및 기타 확장)에서 사용됩니다. 일반적으로 애플리케이션 코드에는 사용되지 않습니다.

속성

속성 Description
IsReadOnly

현재 개체가 읽기 전용인지 여부를 나타냅니다.

(다음에서 상속됨 AnnotatableBase)
Item[String]

지정된 이름의 값 주석을 가져오고 null , 없는 경우 반환합니다.

(다음에서 상속됨 Annotatable)

메서드

속성 Description
AddAnnotation(String, Annotation)

이 개체에 주석을 추가합니다. 지정된 이름의 주석이 이미 있는 경우 throw합니다.

(다음에서 상속됨 Annotatable)
AddAnnotation(String, Object, ConfigurationSource)

지정된 구성 원본을 사용하여 지정된 키와 값이 있는 주석을 이 개체에 추가합니다. 지정된 이름의 주석이 이미 있는 경우 throw합니다.

AddAnnotation(String, Object)

이 개체에 주석을 추가합니다. 지정된 이름의 주석이 이미 있는 경우 throw합니다.

(다음에서 상속됨 Annotatable)
AddAnnotations(IEnumerable<IAnnotation>)

이 개체에 주석을 추가합니다.

(다음에서 상속됨 AnnotatableBase)
AddAnnotations(IReadOnlyDictionary<String,Object>)

이 개체에 주석을 추가합니다.

(다음에서 상속됨 AnnotatableBase)
AddRuntimeAnnotation(String, Annotation)

이 개체에 런타임 주석을 추가합니다. 지정된 이름의 주석이 이미 있는 경우 throw합니다.

(다음에서 상속됨 AnnotatableBase)
AddRuntimeAnnotation(String, Object)

이 개체에 런타임 주석을 추가합니다. 지정된 이름의 주석이 이미 있는 경우 throw합니다.

(다음에서 상속됨 AnnotatableBase)
AddRuntimeAnnotations(IEnumerable<Annotation>)

이 개체에 런타임 주석을 추가합니다.

(다음에서 상속됨 AnnotatableBase)
AddRuntimeAnnotations(IReadOnlyDictionary<String,Object>)

이 개체에 런타임 주석을 추가합니다.

(다음에서 상속됨 AnnotatableBase)
CreateAnnotation(String, Object)

새 주석을 만듭니다.

CreateRuntimeAnnotation(String, Object)

새 런타임 주석을 만듭니다.

(다음에서 상속됨 AnnotatableBase)
EnsureMutable()

모델이 읽기 전용이면 throw됩니다.

(다음에서 상속됨 Annotatable)
EnsureReadOnly()

모델이 읽기 전용이 아니면 throw합니다.

(다음에서 상속됨 Annotatable)
FindAnnotation(String)

지정된 이름의 주석을 가져오고 null 없는 경우 반환합니다.

FindRuntimeAnnotation(String)

지정된 이름의 런타임 주석을 가져오고 null 존재하지 않는 경우 반환합니다.

(다음에서 상속됨 AnnotatableBase)
GetAnnotation(String)

지정된 이름의 주석을 가져오고 없는 경우 throw합니다.

(다음에서 상속됨 AnnotatableBase)
GetAnnotations()

현재 개체의 모든 주석을 가져옵니다.

GetOrAddRuntimeAnnotationValue<TValue,TArg>(String, Func<TArg,TValue>, TArg)

지정된 이름의 런타임 주석 값을 가져오고, 이름이 없으면 추가합니다.

(다음에서 상속됨 AnnotatableBase)
GetRuntimeAnnotations()

현재 개체의 모든 런타임 주석을 가져옵니다.

(다음에서 상속됨 AnnotatableBase)
OnAnnotationSet(String, Annotation, Annotation)

주석을 설정하거나 제거할 때 호출됩니다.

OnAnnotationSet(String, IConventionAnnotation, IConventionAnnotation)

주석을 설정하거나 제거할 때 호출됩니다.

RemoveAnnotation(String)

이 개체에서 지정된 주석을 제거합니다.

RemoveRuntimeAnnotation(String)

이 개체에서 지정된 런타임 주석을 제거합니다.

(다음에서 상속됨 AnnotatableBase)
SetAnnotation(String, Annotation, Annotation)

지정된 키 아래에 저장된 주석을 설정합니다. 지정된 이름의 주석이 이미 있는 경우 기존 주석을 덮어씁니다.

(다음에서 상속됨 Annotatable)
SetAnnotation(String, Object, ConfigurationSource)

지정된 구성 원본을 사용하여 이 개체에 지정된 키와 값이 있는 주석을 설정합니다. 지정된 이름의 주석이 이미 있는 경우 기존 주석을 덮어씁니다.

SetAnnotation(String, Object)

지정된 키 아래에 저장된 주석을 설정합니다. 지정된 이름의 주석이 이미 있는 경우 기존 주석을 덮어씁니다.

SetAnnotation(String, Object)

지정된 키 아래에 저장된 주석을 설정합니다. 지정된 이름의 주석이 이미 있는 경우 기존 주석을 덮어씁니다.

(다음에서 상속됨 Annotatable)
SetOrRemoveAnnotation(String, Object, ConfigurationSource)

지정된 구성 원본을 사용하여 이 개체에 지정된 키와 값이 있는 주석을 설정합니다. 지정한 이름의 주석이 이미 있고 valuenull있는 경우 기존 주석을 제거합니다.

SetRuntimeAnnotation(String, Annotation, Annotation)

지정된 키 아래에 저장된 런타임 주석을 설정합니다. 지정된 이름의 주석이 이미 있는 경우 기존 주석을 덮어씁니다.

(다음에서 상속됨 AnnotatableBase)
SetRuntimeAnnotation(String, Object)

지정된 키 아래에 저장된 런타임 주석을 설정합니다. 지정된 이름의 주석이 이미 있는 경우 기존 주석을 덮어씁니다.

(다음에서 상속됨 AnnotatableBase)

명시적 인터페이스 구현

속성 Description
IAnnotatable.AddRuntimeAnnotation(String, Object)

이 개체에 런타임 주석을 추가합니다. 지정된 이름의 주석이 이미 있는 경우 throw합니다.

(다음에서 상속됨 AnnotatableBase)
IAnnotatable.FindAnnotation(String)

지정된 이름의 주석을 가져오고 null이 없으면 반환합니다.

(다음에서 상속됨 Annotatable)
IAnnotatable.FindRuntimeAnnotation(String)

지정된 이름의 런타임 주석을 가져오고 null 존재하지 않는 경우 반환합니다.

(다음에서 상속됨 AnnotatableBase)
IAnnotatable.GetAnnotations()

현재 개체의 모든 주석을 가져옵니다.

(다음에서 상속됨 Annotatable)
IAnnotatable.GetRuntimeAnnotations()

현재 개체의 모든 런타임 주석을 가져옵니다.

(다음에서 상속됨 AnnotatableBase)
IAnnotatable.RemoveRuntimeAnnotation(String)

이 개체에서 지정된 런타임 주석을 제거합니다.

(다음에서 상속됨 AnnotatableBase)
IAnnotatable.SetRuntimeAnnotation(String, Object)

지정된 키 아래에 저장된 런타임 주석을 설정합니다. 지정된 이름의 주석이 이미 있는 경우 기존 주석을 덮어씁니다.

(다음에서 상속됨 AnnotatableBase)
IConventionAnnotatable.AddAnnotation(String, Object, Boolean)

이 개체에 주석을 추가합니다. 지정된 이름의 주석이 이미 있는 경우 throw합니다.

IConventionAnnotatable.Builder

이 개체를 구성하는 데 사용할 수 있는 작성기를 가져옵니다.

IConventionAnnotatable.FindAnnotation(String)

지정된 이름의 주석을 가져오고 null 없는 경우 반환합니다.

IConventionAnnotatable.GetAnnotations()

현재 개체의 모든 주석을 가져옵니다.

IConventionAnnotatable.IsInModel

이 개체가 모델에 있는지 여부를 나타냅니다. 즉, 모델에서 제거되지 않았습니다.

IConventionAnnotatable.RemoveAnnotation(String)

이 개체에서 지정된 이름의 주석을 제거합니다.

IConventionAnnotatable.SetAnnotation(String, Object, Boolean)

지정된 이름 아래에 저장된 주석을 설정합니다. 지정된 이름의 주석이 이미 있는 경우 기존 주석을 덮어씁니다.

IConventionAnnotatable.SetOrRemoveAnnotation(String, Object, Boolean)

지정된 이름 아래에 저장된 주석을 설정합니다. 지정된 이름의 주석이 이미 있는 경우 기존 주석을 덮어씁니다. 제공된 경우 null 기존 주석을 제거합니다.

IMutableAnnotatable.AddAnnotation(String, Object)

이 개체에 주석을 추가합니다. 지정된 이름의 주석이 이미 있는 경우 throw합니다.

(다음에서 상속됨 Annotatable)
IMutableAnnotatable.Item[String]

지정된 이름의 주석 값을 가져오거나 설정합니다.

IMutableAnnotatable.RemoveAnnotation(String)

이 개체에서 지정된 주석을 제거합니다.

(다음에서 상속됨 Annotatable)
IMutableAnnotatable.SetAnnotation(String, Object)

지정된 키 아래에 저장된 주석을 설정합니다. 지정된 이름의 주석이 이미 있는 경우 기존 주석을 덮어씁니다.

IMutableAnnotatable.SetOrRemoveAnnotation(String, Object)

지정된 이름 아래에 저장된 주석을 설정합니다. 지정된 이름의 주석이 이미 있는 경우 기존 주석을 덮어씁니다. 제공된 경우 null 기존 주석을 제거합니다.

(다음에서 상속됨 Annotatable)
IReadOnlyAnnotatable.FindAnnotation(String)

지정된 이름의 주석을 가져오고 null 없는 경우 반환합니다.

(다음에서 상속됨 AnnotatableBase)
IReadOnlyAnnotatable.GetAnnotations()

현재 개체의 모든 주석을 가져옵니다.

(다음에서 상속됨 AnnotatableBase)
IReadOnlyAnnotatable.Item[String]

지정된 이름의 주석 값을 가져오고 null 없는 경우 반환합니다.

(다음에서 상속됨 AnnotatableBase)

확장명 메서드

속성 Description
AddAnnotations(IConventionAnnotatable, IEnumerable<IConventionAnnotation>, Boolean)

개체에 주석을 추가합니다.

AddAnnotations(IMutableAnnotatable, IEnumerable<IAnnotation>)

개체에 주석을 추가합니다.

AnnotationsToDebugString(IAnnotatable, Int32)

개체에 선언된 모든 주석에 대한 디버그 문자열을 가져옵니다.

GetAnnotation(IAnnotatable, String)

지정된 이름의 주석을 가져오고 없는 경우 throw합니다.

GetAnnotation(IConventionAnnotatable, String)

지정된 이름의 주석을 가져오고 없는 경우 throw합니다.

GetAnnotation(IMutableAnnotatable, String)

지정된 이름의 주석을 가져오고 없는 경우 throw합니다.

GetOrAddAnnotation(IMutableAnnotatable, String, String)

지정된 키가 있는 기존 주석을 가져오거나 없는 경우 새 주석을 추가합니다.

SetOrRemoveAnnotation(IConventionAnnotatable, String, Object, Boolean)

지정된 이름 아래에 저장된 주석을 설정합니다. 지정된 이름의 주석이 이미 있는 경우 기존 주석을 덮어씁니다. 제공된 경우 null 기존 주석을 제거합니다.

SetOrRemoveAnnotation(IMutableAnnotatable, String, Object)

지정된 이름 아래에 저장된 주석을 설정합니다. 지정된 이름의 주석이 이미 있는 경우 기존 주석을 덮어씁니다. 제공된 경우 null 기존 주석을 제거합니다.

적용 대상