ConventionModelExtensions.FindIgnoredConfigurationSource(IConventionModel, Type) Yöntem

Tanım

Verilen varlık türünün yoksayılıp yoksayılmadığını gösterir.

public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? FindIgnoredConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, Type type);
static member FindIgnoredConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * Type -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function FindIgnoredConfigurationSource (model As IConventionModel, type As Type) As Nullable(Of ConfigurationSource)

Parametreler

model
IConventionModel

Yoksayılan türü denetlenecek model.

type
Type

Yok sayılacak olabilecek varlık türü.

Döndürülenler

Nullable<ConfigurationSource>

Belirtilen varlık türü yoksayılırsa yapılandırma kaynağı, null Aksi durumda.

Şunlara uygulanır