다음을 통해 공유


RelationalEntityTypeExtensions.GetOrCreateMappingFragment 메서드

정의

오버로드

GetOrCreateMappingFragment(IConventionEntityType, StoreObjectIdentifier, Boolean)

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

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

GetOrCreateMappingFragment(IMutableEntityType, StoreObjectIdentifier)

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

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

GetOrCreateMappingFragment(IConventionEntityType, StoreObjectIdentifier, Boolean)

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

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

public static Microsoft.EntityFrameworkCore.Metadata.IConventionEntityTypeMappingFragment GetOrCreateMappingFragment (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, bool fromDataAnnotation = false);
static member GetOrCreateMappingFragment : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * StoreObjectIdentifier * bool -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityTypeMappingFragment
<Extension()>
Public Function GetOrCreateMappingFragment (entityType As IConventionEntityType, ByRef storeObject As StoreObjectIdentifier, Optional fromDataAnnotation As Boolean = false) As IConventionEntityTypeMappingFragment

매개 변수

entityType
IConventionEntityType

엔터티 형식입니다.

storeObject
StoreObjectIdentifier

테이블과 유사한 저장소 개체의 식별자입니다.

fromDataAnnotation
Boolean

데이터 주석을 사용하여 구성을 지정했는지 여부를 나타냅니다.

반환

엔터티 형식 매핑 조각을 나타내는 개체입니다.

적용 대상

GetOrCreateMappingFragment(IMutableEntityType, StoreObjectIdentifier)

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

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

public static Microsoft.EntityFrameworkCore.Metadata.IMutableEntityTypeMappingFragment GetOrCreateMappingFragment (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetOrCreateMappingFragment : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityTypeMappingFragment
<Extension()>
Public Function GetOrCreateMappingFragment (entityType As IMutableEntityType, ByRef storeObject As StoreObjectIdentifier) As IMutableEntityTypeMappingFragment

매개 변수

entityType
IMutableEntityType

엔터티 형식입니다.

storeObject
StoreObjectIdentifier

테이블과 유사한 저장소 개체의 식별자입니다.

반환

엔터티 형식 매핑 조각을 나타내는 개체입니다.

적용 대상