Delen via


IConventionModel.AddIgnored Method

Definition

Overloads

AddIgnored(String, Boolean)

Marks the given entity type name as ignored.

AddIgnored(Type, Boolean)

Marks the given entity type as ignored.

AddIgnored(String, Boolean)

Source:
IConventionModel.cs
Source:
IConventionModel.cs
Source:
IConventionModel.cs
Source:
IConventionModel.cs

Marks the given entity type name as ignored.

public void AddIgnored (string typeName, bool fromDataAnnotation = false);
public string AddIgnored (string typeName, bool fromDataAnnotation = false);
public string? AddIgnored (string typeName, bool fromDataAnnotation = false);
abstract member AddIgnored : string * bool -> unit
abstract member AddIgnored : string * bool -> string
Public Sub AddIgnored (typeName As String, Optional fromDataAnnotation As Boolean = false)
Public Function AddIgnored (typeName As String, Optional fromDataAnnotation As Boolean = false) As String

Parameters

typeName
String

The name of the entity type to be ignored.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

The name of the ignored entity type.

Applies to

AddIgnored(Type, Boolean)

Source:
IConventionModel.cs
Source:
IConventionModel.cs
Source:
IConventionModel.cs
Source:
IConventionModel.cs

Marks the given entity type as ignored.

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

Parameters

type
Type

The entity type to be ignored.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

The name of the ignored entity type.

Applies to