ConventionModelExtensions.AddIgnored(IConventionModel, Type, Boolean) Método

Definición

Marca el tipo de entidad especificado como omitido.

public static void AddIgnored (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, Type clrType, bool fromDataAnnotation = false);
public static string AddIgnored (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, Type type, bool fromDataAnnotation = false);
static member AddIgnored : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * Type * bool -> unit
static member AddIgnored : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * Type * bool -> string
<Extension()>
Public Sub AddIgnored (model As IConventionModel, clrType As Type, Optional fromDataAnnotation As Boolean = false)
<Extension()>
Public Function AddIgnored (model As IConventionModel, type As Type, Optional fromDataAnnotation As Boolean = false) As String

Parámetros

model
IConventionModel

Modelo al que se va a agregar el tipo omitido.

clrTypetype
Type

Tipo de entidad que se va a omitir.

fromDataAnnotation
Boolean

Indica si la configuración se especificó mediante una anotación de datos.

Devoluciones

Nombre del tipo de entidad omitido.

Se aplica a