Share via


RelationalModelValidator.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, die 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, die 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, die mögliche Gründe angibt, warum die Eigenschaft nicht zugeordnet werden kann.

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)

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, die mögliche Gründe angibt, warum die Eigenschaft nicht zugeordnet werden kann.

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)

Parameter

propertyType
String

Der CLR-Eigenschaftstyp.

typeBase
IConventionTypeBase

Der Strukturtyp.

unmappedProperty
IConventionProperty

Die Eigenschaft.

Gilt für: