ModelExtensions.HasEntityTypeWithDefiningNavigation Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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
Entity Framework
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin