IConventionModelBuilder.IsIgnored Method

Definition

Overloads

IsIgnored(String, Boolean)

Indicates whether the given entity type name is ignored for the current configuration source.

IsIgnored(Type, Boolean)

Indicates whether the given entity type name is ignored for the current configuration source.

IsIgnored(String, Boolean)

Indicates whether the given entity type name is ignored for the current configuration source.

public bool IsIgnored (string typeName, bool fromDataAnnotation = false);
abstract member IsIgnored : string * bool -> bool
Public Function IsIgnored (typeName As String, Optional fromDataAnnotation As Boolean = false) As Boolean

Parameters

typeName
String

The name of the entity type that might be ignored.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

true if the given entity type name is ignored.

Applies to

IsIgnored(Type, Boolean)

Indicates whether the given entity type name is ignored for the current configuration source.

public bool IsIgnored (Type type, bool fromDataAnnotation = false);
abstract member IsIgnored : Type * bool -> bool
Public Function IsIgnored (type As Type, Optional fromDataAnnotation As Boolean = false) As Boolean

Parameters

type
Type

The name of the entity type that might be ignored.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

true if the given entity type name is ignored.

Applies to