Sdílet prostřednictvím


ConventionModelExtensions.FindIgnoredConfigurationSource Metoda

Definice

Určuje, jestli je daný typ entity ignorován.

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)

Parametry

model
IConventionModel

Model, který má zkontrolovat ignorovaný typ.

type
Type

Typ entity, který může být ignorován.

Návraty

Zdroj konfigurace, pokud je daný typ entity ignorován, null jinak.

Platí pro