ConventionModelExtensions.IsOwned(IConventionModel, Type) 메서드

정의

지정된 형식을 사용하는 엔터티 형식을 검색할 때 소유 형식으로 구성해야 하는지 여부를 나타내는 값을 반환합니다.

public static bool IsOwned (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, Type clrType);
public static bool IsOwned (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, Type type);
static member IsOwned : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * Type -> bool
static member IsOwned : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * Type -> bool
<Extension()>
Public Function IsOwned (model As IConventionModel, clrType As Type) As Boolean
<Extension()>
Public Function IsOwned (model As IConventionModel, type As Type) As Boolean

매개 변수

model
IConventionModel

모델입니다.

clrTypetype
Type

소유할 수 있는 엔터티 형식의 형식입니다.

반환

true 지정된 형식 이름이 소유된 것으로 표시되면 이고, null 그렇지 않으면 입니다.

적용 대상