Sdílet prostřednictvím


ModelExtensions.HasEntityTypeWithDefiningNavigation Metoda

Definice

Přetížení

HasEntityTypeWithDefiningNavigation(IModel, String)
Zastaralé.

Získá hodnotu označující, zda model obsahuje odpovídající typ entity s definující navigaci.

HasEntityTypeWithDefiningNavigation(IModel, Type)
Zastaralé.

Získá hodnotu označující, zda model obsahuje odpovídající typ entity s definující navigaci.

HasEntityTypeWithDefiningNavigation(IModel, String)

Upozornění

Use FindEntityType(string)?.HasSharedClrType

Získá hodnotu označující, zda model obsahuje odpovídající typ entity s definující navigaci.

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

Parametry

model
IModel

Model, ve který se má najít typ entity.

name
String

Název použitý k vyhledání typu entity s definující navigací.

Návraty

true pokud model obsahuje odpovídající typ entity s definující navigací.

Atributy

Platí pro

HasEntityTypeWithDefiningNavigation(IModel, Type)

Upozornění

Use IsShared(Type)

Získá hodnotu označující, zda model obsahuje odpovídající typ entity s definující navigaci.

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

Parametry

model
IModel

Model, ve který se má najít typ entity.

type
Type

Typ použitý k vyhledání typu entity definující navigaci.

Návraty

true pokud model obsahuje odpovídající typ entity s definující navigací.

Atributy

Platí pro