ModelExtensions.HasEntityTypeWithDefiningNavigation Methode

Definition

Überlädt

HasEntityTypeWithDefiningNavigation(IModel, String)
Veraltet.

Ruft einen Wert ab, der angibt, ob das Modell einen entsprechenden Entitätstyp mit einer definierenden Navigation enthält.

HasEntityTypeWithDefiningNavigation(IModel, Type)
Veraltet.

Ruft einen Wert ab, der angibt, ob das Modell einen entsprechenden Entitätstyp mit einer definierenden Navigation enthält.

HasEntityTypeWithDefiningNavigation(IModel, String)

Achtung

Use FindEntityType(string)?.HasSharedClrType

Ruft einen Wert ab, der angibt, ob das Modell einen entsprechenden Entitätstyp mit einer definierenden Navigation enthält.

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

Parameter

model
IModel

Das Modell, in dem der Entitätstyp gesucht werden soll.

name
String

Der Name, der verwendet wird, um einen Entitätstyp mit einer definierenden Navigation zu finden.

Gibt zurück

true , wenn das Modell einen entsprechenden Entitätstyp mit einer definierenden Navigation enthält.

Attribute

Gilt für:

HasEntityTypeWithDefiningNavigation(IModel, Type)

Achtung

Use IsShared(Type)

Ruft einen Wert ab, der angibt, ob das Modell einen entsprechenden Entitätstyp mit einer definierenden Navigation enthält.

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

Parameter

model
IModel

Das Modell, in dem der Entitätstyp gesucht werden soll.

type
Type

Der Typ, der verwendet wird, um einen Entitätstyp und eine definierende Navigation zu finden.

Gibt zurück

true , wenn das Modell einen entsprechenden Entitätstyp mit einer definierenden Navigation enthält.

Attribute

Gilt für: