다음을 통해 공유


ModelValidator.IsOwned(Type, IConventionModel) 메서드

정의

대상 CLR 형식이 소유 엔터티 형식에 해당하는지 여부를 나타내는 값을 반환합니다.

protected virtual bool IsOwned (Type targetType, Microsoft.EntityFrameworkCore.Metadata.IConventionModel conventionModel);
abstract member IsOwned : Type * Microsoft.EntityFrameworkCore.Metadata.IConventionModel -> bool
override this.IsOwned : Type * Microsoft.EntityFrameworkCore.Metadata.IConventionModel -> bool
Protected Overridable Function IsOwned (targetType As Type, conventionModel As IConventionModel) As Boolean

매개 변수

targetType
Type

대상 CLR 형식입니다.

conventionModel
IConventionModel

모델입니다.

반환

true 지정된 CLR 형식이 소유 엔터티 형식에 해당하면 입니다.

적용 대상