Aracılığıyla paylaş


ModelExtensions.HasEntityTypeWithDefiningNavigation Yöntem

Tanım

Aşırı Yüklemeler

HasEntityTypeWithDefiningNavigation(IModel, String)
Geçersiz.

Modelin, tanımlayıcı bir gezinti ile karşılık gelen bir varlık türü içerip içermediğini belirten bir değer alır.

HasEntityTypeWithDefiningNavigation(IModel, Type)
Geçersiz.

Modelin, tanımlayıcı bir gezinti ile karşılık gelen bir varlık türü içerip içermediğini belirten bir değer alır.

HasEntityTypeWithDefiningNavigation(IModel, String)

Dikkat

Use FindEntityType(string)?.HasSharedClrType

Modelin, tanımlayıcı bir gezinti ile karşılık gelen bir varlık türü içerip içermediğini 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ımlayıcı gezinti ile varlık türünü bulmak için kullanılan ad.

Döndürülenler

true model, tanımlayıcı bir gezinti ile karşılık gelen bir varlık türü içeriyorsa.

Öznitelikler

Şunlara uygulanır

HasEntityTypeWithDefiningNavigation(IModel, Type)

Dikkat

Use IsShared(Type)

Modelin, tanımlayıcı bir gezinti ile karşılık gelen bir varlık türü içerip içermediğini 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ü bulmak için kullanılan tür, tanımlayıcı bir gezinti türü.

Döndürülenler

true model, tanımlayıcı bir gezinti ile karşılık gelen bir varlık türü içeriyorsa.

Öznitelikler

Şunlara uygulanır