ConventionModelExtensions.FindIgnoredConfigurationSource Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework