Share via


ModelValidator.ThrowPropertyNotMappedException Methode

Definition

Überlädt

ThrowPropertyNotMappedException(String, IConventionEntityType, IConventionProperty)

Löst eine InvalidOperationException mit einer Nachricht aus, die anbieterspezifische Informationen enthält, sofern verfügbar, was mögliche Gründe angibt, warum die Eigenschaft nicht zugeordnet werden kann.

ThrowPropertyNotMappedException(String, IConventionTypeBase, IConventionProperty)

Löst eine InvalidOperationException mit einer Nachricht aus, die anbieterspezifische Informationen enthält, sofern verfügbar, was mögliche Gründe angibt, warum die Eigenschaft nicht zugeordnet werden kann.

ThrowPropertyNotMappedException(String, IConventionEntityType, IConventionProperty)

Löst eine InvalidOperationException mit einer Nachricht aus, die anbieterspezifische Informationen enthält, sofern verfügbar, was mögliche Gründe angibt, warum die Eigenschaft nicht zugeordnet werden kann.

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)

Parameter

propertyType
String

Der CLR-Eigenschaftstyp.

entityType
IConventionEntityType

Der Entitätstyp.

unmappedProperty
IConventionProperty

Die Eigenschaft.

Gilt für:

ThrowPropertyNotMappedException(String, IConventionTypeBase, IConventionProperty)

Löst eine InvalidOperationException mit einer Nachricht aus, die anbieterspezifische Informationen enthält, sofern verfügbar, was mögliche Gründe angibt, warum die Eigenschaft nicht zugeordnet werden kann.

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)

Parameter

propertyType
String

Der CLR-Eigenschaftstyp.

typeBase
IConventionTypeBase

Der Strukturtyp.

unmappedProperty
IConventionProperty

Die Eigenschaft.

Gilt für: