次の方法で共有


RelationalModelValidator.ThrowPropertyNotMappedException メソッド

定義

オーバーロード

ThrowPropertyNotMappedException(String, IConventionEntityType, IConventionProperty)

プロバイダー固有の情報を含むメッセージを含む を InvalidOperationException スローします 。使用可能な場合は、プロパティをマップできない考えられる理由を示します。

ThrowPropertyNotMappedException(String, IConventionTypeBase, IConventionProperty)

プロバイダー固有の情報を含むメッセージを含む を InvalidOperationException スローします 。使用可能な場合は、プロパティをマップできない考えられる理由を示します。

ThrowPropertyNotMappedException(String, IConventionEntityType, IConventionProperty)

プロバイダー固有の情報を含むメッセージを含む を InvalidOperationException スローします 。使用可能な場合は、プロパティをマップできない考えられる理由を示します。

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)

パラメーター

propertyType
String

プロパティ CLR 型。

entityType
IConventionEntityType

エンティティの型。

unmappedProperty
IConventionProperty

プロパティ。

適用対象

ThrowPropertyNotMappedException(String, IConventionTypeBase, IConventionProperty)

プロバイダー固有の情報を含むメッセージを含む を InvalidOperationException スローします 。使用可能な場合は、プロパティをマップできない考えられる理由を示します。

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)

パラメーター

propertyType
String

プロパティ CLR 型。

typeBase
IConventionTypeBase

構造型。

unmappedProperty
IConventionProperty

プロパティ。

適用対象