다음을 통해 공유


RuntimeEntityTypeMappingFragment 클래스

정의

특정 테이블과 유사한 저장소 개체에 대한 엔터티 형식 매핑을 나타냅니다.

public class RuntimeEntityTypeMappingFragment : Microsoft.EntityFrameworkCore.Infrastructure.AnnotatableBase, Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment
type RuntimeEntityTypeMappingFragment = class
    inherit AnnotatableBase
    interface IEntityTypeMappingFragment
    interface IReadOnlyEntityTypeMappingFragment
    interface IReadOnlyAnnotatable
    interface IAnnotatable
Public Class RuntimeEntityTypeMappingFragment
Inherits AnnotatableBase
Implements IEntityTypeMappingFragment
상속
RuntimeEntityTypeMappingFragment
구현

설명

자세한 내용 과 예제는 엔터티 형식 및 관계 모델링 을 참조하세요.

생성자

RuntimeEntityTypeMappingFragment(RuntimeEntityType, StoreObjectIdentifier, Nullable<Boolean>)

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

속성

DebugView

이 API는 Entity Framework Core 인프라를 지원하고 공용 API와 동일한 호환성 표준이 적용되지 않는 내부 API입니다. 릴리스에서 예고 없이 변경되거나 제거될 수 있습니다. 코드에서 직접 사용해야 하며, 이렇게 하면 새 Entity Framework Core 릴리스로 업데이트할 때 애플리케이션 오류가 발생할 수 있다는 것을 알고 있어야 합니다.

EntityType

조각이 정의된 엔터티 형식을 가져옵니다.

IsReadOnly

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

(다음에서 상속됨 AnnotatableBase)
IsTableExcludedFromMigrations

연결된 테이블이 마이그레이션에서 무시되는지 여부를 나타내는 값을 가져옵니다.

Item[String]

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

(다음에서 상속됨 AnnotatableBase)
StoreObject

구성이 적용되는 저장소 개체를 가져옵니다.

메서드

AddAnnotation(String, Annotation)

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

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

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

(다음에서 상속됨 AnnotatableBase)
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)

새 주석을 만듭니다.

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

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

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

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

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

모델이 읽기 전용이 아닌 경우 을 throw합니다.

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

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

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

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

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

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

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

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

(다음에서 상속됨 AnnotatableBase)
GetOrAddRuntimeAnnotationValue<TValue,TArg>(String, Func<TArg,TValue>, TArg)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

특정 테이블과 유사한 저장소 개체에 대한 엔터티 형식 매핑을 나타냅니다.

명시적 인터페이스 구현

IAnnotatable.AddRuntimeAnnotation(String, Object)

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

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

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

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

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

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

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

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

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

(다음에서 상속됨 AnnotatableBase)
IEntityTypeMappingFragment.EntityType

조각이 정의된 엔터티 형식을 가져옵니다.

IReadOnlyAnnotatable.FindAnnotation(String)

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

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

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

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

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

(다음에서 상속됨 AnnotatableBase)
IReadOnlyEntityTypeMappingFragment.EntityType

조각이 정의된 엔터티 형식을 가져옵니다.

확장 메서드

IsSqlReturningClauseUsed(IReadOnlyEntityTypeMappingFragment)

테이블에 변경 내용을 저장할 때 SQL RETURNING 절을 사용할지 여부를 나타내는 값을 반환합니다. RETURNING 절은 가상 테이블 또는 AFTER 트리거가 있는 테이블과 같은 특정 Sqlite 기능과 호환되지 않습니다.

IsSqlOutputClauseUsed(IReadOnlyEntityTypeMappingFragment)

연결된 테이블에 변경 내용을 저장할 때 SQL OUTPUT 절을 사용할지 여부를 나타내는 값을 반환합니다. OUTPUT 절은 트리거가 있는 테이블과 같은 특정 SQL Server 기능과 호환되지 않습니다.

적용 대상