ConventionModelExtensions.FindIgnoredConfigurationSource Method

Definition

Indicates whether the given entity type is ignored.

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)

Parameters

model
IConventionModel

The model to check for ignored type.

type
Type

The entity type that might be ignored.

Returns

The configuration source if the given entity type is ignored, null otherwise.

Applies to