ConventionModelExtensions.IsIgnored Method

Definition

Overloads

IsIgnored(IConventionModel, String)

Indicates whether the given entity type name is ignored.

IsIgnored(IConventionModel, Type)

Indicates whether the given entity type is ignored.

IsIgnored(IConventionModel, String)

Source:
ConventionModelExtensions.cs
Source:
ConventionModelExtensions.cs
Source:
ConventionModelExtensions.cs

Indicates whether the given entity type name is ignored.

C#
public static bool IsIgnored (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string typeName);

Parameters

model
IConventionModel

The model to check for ignored type.

typeName
String

The name of the entity type that could be ignored.

Returns

true if the given entity type name is ignored.

Applies to

Entity Framework Core 5.0 ja muud versioonid
Toode Versioonid
Entity Framework Core 3.0, 3.1, 5.0

IsIgnored(IConventionModel, Type)

Source:
ConventionModelExtensions.cs
Source:
ConventionModelExtensions.cs
Source:
ConventionModelExtensions.cs

Indicates whether the given entity type is ignored.

C#
public static bool IsIgnored (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, Type type);

Parameters

model
IConventionModel

The model to check for ignored type.

type
Type

The entity type that might be ignored.

Returns

true if the given entity type is ignored.

Applies to

Entity Framework Core 5.0 ja muud versioonid
Toode Versioonid
Entity Framework Core 3.0, 3.1, 5.0