MutableModelExtensions.AddIgnored(IMutableModel, Type) Metodo

Definizione

Contrassegna il tipo di entità specificato come ignorato, impedendo alle convenzioni di aggiungere un tipo di entità corrispondente al modello.

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

Parametri

model
IMutableModel

Modello a cui aggiungere il tipo ignorato.

clrTypetype
Type

Tipo di entità da ignorare.

Restituisce

Nome del tipo ignorato.

Si applica a