다음을 통해 공유


IConventionEntityTypeMappingFragment 인터페이스

정의

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

public interface IConventionEntityTypeMappingFragment : Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityTypeMappingFragment
type IConventionEntityTypeMappingFragment = interface
    interface IReadOnlyEntityTypeMappingFragment
    interface IReadOnlyAnnotatable
    interface IConventionAnnotatable
Public Interface IConventionEntityTypeMappingFragment
Implements IConventionAnnotatable, IReadOnlyEntityTypeMappingFragment
구현

설명

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

속성

Builder

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

EntityType

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

IsInModel

이 개체가 모델에 있는지 여부(예: 모델에서 제거되지 않음)를 나타냅니다.

(다음에서 상속됨 IConventionAnnotatable)
IsTableExcludedFromMigrations

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

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

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

(다음에서 상속됨 IReadOnlyAnnotatable)
StoreObject

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

(다음에서 상속됨 IReadOnlyEntityTypeMappingFragment)

메서드

AddAnnotation(String, Object, Boolean)

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

(다음에서 상속됨 IConventionAnnotatable)
AddAnnotations(IEnumerable<IConventionAnnotation>, Boolean)

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

(다음에서 상속됨 IConventionAnnotatable)
AnnotationsToDebugString(Int32)

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

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

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

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

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

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

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

(다음에서 상속됨 IConventionAnnotatable)
GetConfigurationSource()

이 조각의 구성 원본을 반환합니다.

GetIsTableExcludedFromMigrationsConfigurationSource()

에 대한 를 ConfigurationSourceIsTableExcludedFromMigrations가져옵니다.

RemoveAnnotation(String)

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

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

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

(다음에서 상속됨 IConventionAnnotatable)
SetIsTableExcludedFromMigrations(Nullable<Boolean>, Boolean)

마이그레이션에서 연결된 테이블을 무시할지 여부를 나타내는 값을 설정합니다.

SetOrRemoveAnnotation(String, Object, Boolean)

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

(다음에서 상속됨 IConventionAnnotatable)
ToDebugString(MetadataDebugStringOptions, Int32)

지정된 메타데이터의 사람이 읽을 수 있는 표현을 만듭니다.

경고: 반환된 문자열의 형식을 사용하지 마세요. 디버깅 전용으로 설계되었으며 릴리스 간에 임의로 변경될 수 있습니다.

(다음에서 상속됨 IReadOnlyEntityTypeMappingFragment)

확장 메서드

GetUseSqlReturningClauseConfigurationSource(IConventionEntityTypeMappingFragment)

연결된 테이블에 변경 내용을 저장할 때 SQL RETURNING 절을 사용할지 여부에 대한 구성 원본을 가져옵니다.

IsSqlReturningClauseUsed(IReadOnlyEntityTypeMappingFragment)

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

UseSqlReturningClause(IConventionEntityTypeMappingFragment, Nullable<Boolean>, Boolean)

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

GetUseSqlOutputClauseConfigurationSource(IConventionEntityTypeMappingFragment)

연결된 테이블에 변경 내용을 저장할 때 SQL OUTPUT 절을 사용할지 여부를 설정하는 구성 원본을 가져옵니다.

IsSqlOutputClauseUsed(IReadOnlyEntityTypeMappingFragment)

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

UseSqlOutputClause(IConventionEntityTypeMappingFragment, Nullable<Boolean>, Boolean)

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

적용 대상