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)

Indicates whether the given entity type name is ignored.

public static bool IsIgnored (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string typeName);
static member IsIgnored : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * string -> bool
<Extension()>
Public Function IsIgnored (model As IConventionModel, typeName As String) As Boolean

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

IsIgnored(IConventionModel, Type)

Indicates whether the given entity type is ignored.

public static bool IsIgnored (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, Type type);
static member IsIgnored : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * Type -> bool
<Extension()>
Public Function IsIgnored (model As IConventionModel, type As Type) As Boolean

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