Condividi tramite


RelationalModelValidator.ThrowPropertyNotMappedException Metodo

Definizione

Overload

ThrowPropertyNotMappedException(String, IConventionEntityType, IConventionProperty)

Genera un InvalidOperationException oggetto con un messaggio contenente informazioni specifiche del provider, se disponibili, che indica i possibili motivi per cui non è possibile eseguire il mapping della proprietà.

ThrowPropertyNotMappedException(String, IConventionTypeBase, IConventionProperty)

Genera un InvalidOperationException oggetto con un messaggio contenente informazioni specifiche del provider, se disponibili, che indica i possibili motivi per cui non è possibile eseguire il mapping della proprietà.

ThrowPropertyNotMappedException(String, IConventionEntityType, IConventionProperty)

Genera un InvalidOperationException oggetto con un messaggio contenente informazioni specifiche del provider, se disponibili, che indica i possibili motivi per cui non è possibile eseguire il mapping della proprietà.

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

Parametri

propertyType
String

Tipo CLR della proprietà.

entityType
IConventionEntityType

Tipo di entità.

unmappedProperty
IConventionProperty

Proprietà.

Si applica a

ThrowPropertyNotMappedException(String, IConventionTypeBase, IConventionProperty)

Genera un InvalidOperationException oggetto con un messaggio contenente informazioni specifiche del provider, se disponibili, che indica i possibili motivi per cui non è possibile eseguire il mapping della proprietà.

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

Parametri

propertyType
String

Tipo CLR della proprietà.

typeBase
IConventionTypeBase

Tipo strutturale.

unmappedProperty
IConventionProperty

Proprietà.

Si applica a