Bahasa

ModelValidator.ThrowPropertyNotMappedException Metode

Definisi

Overload

Nama Deskripsi
ThrowPropertyNotMappedException(String, IConventionTypeBase, IConventionProperty)

InvalidOperationException Melempar dengan pesan yang berisi informasi khusus penyedia, jika tersedia, menunjukkan kemungkinan alasan mengapa properti tidak dapat dipetakan.

ThrowPropertyNotMappedException(String, ITypeBase, IProperty)

InvalidOperationException Melempar dengan pesan yang berisi informasi khusus penyedia, jika tersedia, menunjukkan kemungkinan alasan mengapa properti tidak dapat dipetakan.

ThrowPropertyNotMappedException(String, IConventionEntityType, IConventionProperty)

InvalidOperationException Melempar dengan pesan yang berisi informasi khusus penyedia, jika tersedia, menunjukkan kemungkinan alasan mengapa properti tidak dapat dipetakan.

ThrowPropertyNotMappedException(String, IConventionTypeBase, IConventionProperty)

Sumber:
ModelValidator.cs
Sumber:
ModelValidator.cs
Sumber:
ModelValidator.cs

InvalidOperationException Melempar dengan pesan yang berisi informasi khusus penyedia, jika tersedia, menunjukkan kemungkinan alasan mengapa properti tidak dapat dipetakan.

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

Jenis CLR properti.

structuralTypetypeBase
IConventionTypeBase

Jenis struktural.

unmappedProperty
IConventionProperty

Properti tersebut.

Berlaku untuk

ThrowPropertyNotMappedException(String, ITypeBase, IProperty)

Sumber:
ModelValidator.cs

InvalidOperationException Melempar dengan pesan yang berisi informasi khusus penyedia, jika tersedia, menunjukkan kemungkinan alasan mengapa properti tidak dapat dipetakan.

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

Jenis CLR properti.

structuralType
ITypeBase

Jenis struktural.

unmappedProperty
IProperty

Properti tersebut.

Berlaku untuk

ThrowPropertyNotMappedException(String, IConventionEntityType, IConventionProperty)

Sumber:
ModelValidator.cs

InvalidOperationException Melempar dengan pesan yang berisi informasi khusus penyedia, jika tersedia, menunjukkan kemungkinan alasan mengapa properti tidak dapat dipetakan.

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

Jenis CLR properti.

entityType
IConventionEntityType

Jenis entitas.

unmappedProperty
IConventionProperty

Properti tersebut.

Berlaku untuk