Idioma

ModelValidator.ThrowPropertyNotMappedException Método

Definição

Sobrecargas

Nome Descrição
ThrowPropertyNotMappedException(String, IConventionTypeBase, IConventionProperty)

Lança uma InvalidOperationException mensagem com informações específicas do provedor, quando disponíveis, indicando possíveis motivos pelos quais a propriedade não pode ser mapeada.

ThrowPropertyNotMappedException(String, ITypeBase, IProperty)

Lança uma InvalidOperationException mensagem com informações específicas do provedor, quando disponíveis, indicando possíveis motivos pelos quais a propriedade não pode ser mapeada.

ThrowPropertyNotMappedException(String, IConventionEntityType, IConventionProperty)

Lança uma InvalidOperationException mensagem com informações específicas do provedor, quando disponíveis, indicando possíveis motivos pelos quais a propriedade não pode ser mapeada.

ThrowPropertyNotMappedException(String, IConventionTypeBase, IConventionProperty)

Origem:
ModelValidator.cs
Origem:
ModelValidator.cs
Origem:
ModelValidator.cs

Lança uma InvalidOperationException mensagem com informações específicas do provedor, quando disponíveis, indicando possíveis motivos pelos quais a propriedade não pode ser mapeada.

protected virtual void ThrowPropertyNotMappedException(string propertyType, Microsoft.EntityFrameworkCore.Metadata.IConventionTypeBase structuralType, Microsoft.EntityFrameworkCore.Metadata.IConventionProperty unmappedProperty);
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
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, structuralType As IConventionTypeBase, unmappedProperty As IConventionProperty)
Protected Overridable Sub ThrowPropertyNotMappedException (propertyType As String, typeBase As IConventionTypeBase, unmappedProperty As IConventionProperty)

Parâmetros

propertyType
String

O tipo CLR da propriedade.

structuralTypetypeBase
IConventionTypeBase

O tipo estrutural.

unmappedProperty
IConventionProperty

A propriedade.

Aplica-se a

ThrowPropertyNotMappedException(String, ITypeBase, IProperty)

Origem:
ModelValidator.cs

Lança uma InvalidOperationException mensagem com informações específicas do provedor, quando disponíveis, indicando possíveis motivos pelos quais a propriedade não pode ser mapeada.

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

Parâmetros

propertyType
String

O tipo CLR da propriedade.

structuralType
ITypeBase

O tipo estrutural.

unmappedProperty
IProperty

A propriedade.

Aplica-se a

ThrowPropertyNotMappedException(String, IConventionEntityType, IConventionProperty)

Origem:
ModelValidator.cs

Lança uma InvalidOperationException mensagem com informações específicas do provedor, quando disponíveis, indicando possíveis motivos pelos quais a propriedade não pode ser mapeada.

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

O tipo CLR da propriedade.

entityType
IConventionEntityType

O tipo de entidade.

unmappedProperty
IConventionProperty

A propriedade.

Aplica-se a