다음을 통해 공유


ModelExtensions.HasEntityTypeWithDefiningNavigation 메서드

정의

오버로드

HasEntityTypeWithDefiningNavigation(IModel, String)
사용되지 않음.

모델에 정의 탐색이 있는 해당 엔터티 형식이 포함되어 있는지 여부를 나타내는 값을 가져옵니다.

HasEntityTypeWithDefiningNavigation(IModel, Type)
사용되지 않음.

모델에 정의 탐색이 있는 해당 엔터티 형식이 포함되어 있는지 여부를 나타내는 값을 가져옵니다.

HasEntityTypeWithDefiningNavigation(IModel, String)

주의

Use FindEntityType(string)?.HasSharedClrType

모델에 정의 탐색이 있는 해당 엔터티 형식이 포함되어 있는지 여부를 나타내는 값을 가져옵니다.

public static bool HasEntityTypeWithDefiningNavigation (this Microsoft.EntityFrameworkCore.Metadata.IModel model, string name);
[System.Diagnostics.DebuggerStepThrough]
public static bool HasEntityTypeWithDefiningNavigation (this Microsoft.EntityFrameworkCore.Metadata.IModel model, string name);
[System.Diagnostics.DebuggerStepThrough]
[System.Obsolete("Use FindEntityType(string)?.HasSharedClrType")]
public static bool HasEntityTypeWithDefiningNavigation (this Microsoft.EntityFrameworkCore.Metadata.IModel model, string name);
static member HasEntityTypeWithDefiningNavigation : Microsoft.EntityFrameworkCore.Metadata.IModel * string -> bool
[<System.Diagnostics.DebuggerStepThrough>]
static member HasEntityTypeWithDefiningNavigation : Microsoft.EntityFrameworkCore.Metadata.IModel * string -> bool
[<System.Diagnostics.DebuggerStepThrough>]
[<System.Obsolete("Use FindEntityType(string)?.HasSharedClrType")>]
static member HasEntityTypeWithDefiningNavigation : Microsoft.EntityFrameworkCore.Metadata.IModel * string -> bool
<Extension()>
Public Function HasEntityTypeWithDefiningNavigation (model As IModel, name As String) As Boolean

매개 변수

model
IModel

엔터티 형식을 찾을 모델입니다.

name
String

정의 탐색을 사용하여 엔터티 형식을 찾는 데 사용되는 이름입니다.

반환

true 모델에 정의 탐색이 있는 해당 엔터티 형식이 포함되어 있으면 입니다.

특성

적용 대상

HasEntityTypeWithDefiningNavigation(IModel, Type)

주의

Use IsShared(Type)

모델에 정의 탐색이 있는 해당 엔터티 형식이 포함되어 있는지 여부를 나타내는 값을 가져옵니다.

public static bool HasEntityTypeWithDefiningNavigation (this Microsoft.EntityFrameworkCore.Metadata.IModel model, Type type);
[System.Diagnostics.DebuggerStepThrough]
public static bool HasEntityTypeWithDefiningNavigation (this Microsoft.EntityFrameworkCore.Metadata.IModel model, Type type);
[System.Diagnostics.DebuggerStepThrough]
[System.Obsolete("Use IsShared(Type)")]
public static bool HasEntityTypeWithDefiningNavigation (this Microsoft.EntityFrameworkCore.Metadata.IModel model, Type type);
static member HasEntityTypeWithDefiningNavigation : Microsoft.EntityFrameworkCore.Metadata.IModel * Type -> bool
[<System.Diagnostics.DebuggerStepThrough>]
static member HasEntityTypeWithDefiningNavigation : Microsoft.EntityFrameworkCore.Metadata.IModel * Type -> bool
[<System.Diagnostics.DebuggerStepThrough>]
[<System.Obsolete("Use IsShared(Type)")>]
static member HasEntityTypeWithDefiningNavigation : Microsoft.EntityFrameworkCore.Metadata.IModel * Type -> bool
<Extension()>
Public Function HasEntityTypeWithDefiningNavigation (model As IModel, type As Type) As Boolean

매개 변수

model
IModel

엔터티 형식을 찾을 모델입니다.

type
Type

엔터티 형식을 찾는 데 사용되는 형식은 정의 탐색입니다.

반환

true 모델에 정의 탐색이 있는 해당 엔터티 형식이 포함되어 있으면 입니다.

특성

적용 대상