ModelExtensions.HasEntityTypeWithDefiningNavigation Yöntem

Tanım

Aşırı Yüklemeler

HasEntityTypeWithDefiningNavigation(IModel, String)
Kullanımdan kalktı.

Modelin tanımlama gezintisi ile ilgili bir varlık türüne sahip olup olmadığını belirten bir değer alır.

HasEntityTypeWithDefiningNavigation(IModel, Type)
Kullanımdan kalktı.

Modelin tanımlama gezintisi ile ilgili bir varlık türüne sahip olup olmadığını belirten bir değer alır.

HasEntityTypeWithDefiningNavigation(IModel, String)

Dikkat

Use FindEntityType(string)?.HasSharedClrType

Modelin tanımlama gezintisi ile ilgili bir varlık türüne sahip olup olmadığını belirten bir değer alır.

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

Parametreler

model
IModel

Varlık türünü bulmak için model.

name
String

Tanımlayan gezintiye sahip bir varlık türünü bulmak için kullanılan ad.

Döndürülenler

Boolean

true model tanımlama gezintisi ile ilgili bir varlık türü içeriyorsa.

Öznitelikler

Şunlara uygulanır

HasEntityTypeWithDefiningNavigation(IModel, Type)

Dikkat

Use IsShared(Type)

Modelin tanımlama gezintisi ile ilgili bir varlık türüne sahip olup olmadığını belirten bir değer alır.

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

Parametreler

model
IModel

Varlık türünü bulmak için model.

type
Type

Varlık türünü tanımlayan bir gezinti bulmak için kullanılan tür.

Döndürülenler

Boolean

true model tanımlama gezintisi ile ilgili bir varlık türü içeriyorsa.

Öznitelikler

Şunlara uygulanır