Sprache

ModelValidator.ThrowPropertyNotMappedException Methode

Definition

Überlädt

Name Beschreibung
ThrowPropertyNotMappedException(String, IConventionTypeBase, IConventionProperty)

Löst eine InvalidOperationException Nachricht mit einer Meldung mit anbieterspezifischen Informationen aus, sofern verfügbar, und gibt mögliche Gründe an, warum die Eigenschaft nicht zugeordnet werden kann.

ThrowPropertyNotMappedException(String, ITypeBase, IProperty)

Löst eine InvalidOperationException Nachricht mit einer Meldung mit anbieterspezifischen Informationen aus, sofern verfügbar, und gibt mögliche Gründe an, warum die Eigenschaft nicht zugeordnet werden kann.

ThrowPropertyNotMappedException(String, IConventionEntityType, IConventionProperty)

Löst eine InvalidOperationException Nachricht mit einer Meldung mit anbieterspezifischen Informationen aus, sofern verfügbar, und gibt mögliche Gründe an, warum die Eigenschaft nicht zugeordnet werden kann.

ThrowPropertyNotMappedException(String, IConventionTypeBase, IConventionProperty)

Quelle:
ModelValidator.cs
Quelle:
ModelValidator.cs
Quelle:
ModelValidator.cs

Löst eine InvalidOperationException Nachricht mit einer Meldung mit anbieterspezifischen Informationen aus, sofern verfügbar, und gibt mögliche Gründe an, warum die Eigenschaft nicht zugeordnet werden kann.

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)

Parameter

propertyType
String

Der CLR-Eigenschaftstyp.

structuralTypetypeBase
IConventionTypeBase

Der Strukturtyp.

unmappedProperty
IConventionProperty

Die Eigenschaft.

Gilt für:

ThrowPropertyNotMappedException(String, ITypeBase, IProperty)

Quelle:
ModelValidator.cs

Löst eine InvalidOperationException Nachricht mit einer Meldung mit anbieterspezifischen Informationen aus, sofern verfügbar, und gibt mögliche Gründe an, warum die Eigenschaft nicht zugeordnet werden kann.

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)

Parameter

propertyType
String

Der CLR-Eigenschaftstyp.

structuralType
ITypeBase

Der Strukturtyp.

unmappedProperty
IProperty

Die Eigenschaft.

Gilt für:

ThrowPropertyNotMappedException(String, IConventionEntityType, IConventionProperty)

Quelle:
ModelValidator.cs

Löst eine InvalidOperationException Nachricht mit einer Meldung mit anbieterspezifischen Informationen aus, sofern verfügbar, und gibt mögliche Gründe an, 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 Objekttyp.

unmappedProperty
IConventionProperty

Die Eigenschaft.

Gilt für: