Share via


MutableModelExtensions.AddIgnored(IMutableModel, Type) Methode

Definition

Markiert den angegebenen Entitätstyp als ignoriert und verhindert, dass Konventionen dem Modell einen übereinstimmenden Entitätstyp hinzufügen.

public static void AddIgnored (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, Type clrType);
public static string AddIgnored (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, Type type);
static member AddIgnored : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * Type -> unit
static member AddIgnored : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * Type -> string
<Extension()>
Public Sub AddIgnored (model As IMutableModel, clrType As Type)
<Extension()>
Public Function AddIgnored (model As IMutableModel, type As Type) As String

Parameter

model
IMutableModel

Das Modell, dem der ignorierte Typ hinzugefügt werden soll.

clrTypetype
Type

Der zu ignorierende Entitätstyp.

Gibt zurück

Der Name des ignorierten Typs.

Gilt für: