Compartir a través de


ModelValidator.ThrowPropertyNotMappedException Método

Definición

Sobrecargas

ThrowPropertyNotMappedException(String, IConventionEntityType, IConventionProperty)

Produce un InvalidOperationException con un mensaje que contiene información específica del proveedor, cuando está disponible, lo que indica los posibles motivos por los que no se puede asignar la propiedad.

ThrowPropertyNotMappedException(String, IConventionTypeBase, IConventionProperty)

Produce un InvalidOperationException con un mensaje que contiene información específica del proveedor, cuando está disponible, lo que indica los posibles motivos por los que no se puede asignar la propiedad.

ThrowPropertyNotMappedException(String, IConventionEntityType, IConventionProperty)

Produce un InvalidOperationException con un mensaje que contiene información específica del proveedor, cuando está disponible, lo que indica los posibles motivos por los que no se puede asignar la propiedad.

protected virtual void ThrowPropertyNotMappedException (string propertyType, Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.IConventionProperty unmappedProperty);
abstract member ThrowPropertyNotMappedException : string * Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * Microsoft.EntityFrameworkCore.Metadata.IConventionProperty -> unit
override this.ThrowPropertyNotMappedException : string * Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * Microsoft.EntityFrameworkCore.Metadata.IConventionProperty -> unit
Protected Overridable Sub ThrowPropertyNotMappedException (propertyType As String, entityType As IConventionEntityType, unmappedProperty As IConventionProperty)

Parámetros

propertyType
String

Tipo CLR de propiedad.

entityType
IConventionEntityType

El tipo de entidad.

unmappedProperty
IConventionProperty

Propiedad.

Se aplica a

ThrowPropertyNotMappedException(String, IConventionTypeBase, IConventionProperty)

Produce un InvalidOperationException con un mensaje que contiene información específica del proveedor, cuando está disponible, lo que indica los posibles motivos por los que no se puede asignar la propiedad.

protected virtual void ThrowPropertyNotMappedException (string propertyType, Microsoft.EntityFrameworkCore.Metadata.IConventionTypeBase typeBase, Microsoft.EntityFrameworkCore.Metadata.IConventionProperty unmappedProperty);
abstract member ThrowPropertyNotMappedException : string * Microsoft.EntityFrameworkCore.Metadata.IConventionTypeBase * Microsoft.EntityFrameworkCore.Metadata.IConventionProperty -> unit
override this.ThrowPropertyNotMappedException : string * Microsoft.EntityFrameworkCore.Metadata.IConventionTypeBase * Microsoft.EntityFrameworkCore.Metadata.IConventionProperty -> unit
Protected Overridable Sub ThrowPropertyNotMappedException (propertyType As String, typeBase As IConventionTypeBase, unmappedProperty As IConventionProperty)

Parámetros

propertyType
String

Tipo CLR de propiedad.

typeBase
IConventionTypeBase

Tipo estructural.

unmappedProperty
IConventionProperty

Propiedad.

Se aplica a