ConventionModelExtensions.FindIgnoredConfigurationSource Methode

Definition

Gibt an, ob der angegebene Entitätstyp ignoriert wird.

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)

Parameter

model
IConventionModel

Das Modell, das auf ignorierten Typ überprüft werden soll.

type
Type

Der Entitätstyp, der möglicherweise ignoriert wird.

Gibt zurück

Die Konfigurationsquelle, wenn der angegebene Entitätstyp ignoriert wird, null andernfalls.

Gilt für: