Language

UpdateEntryExtensions.BuildOriginalValuesString メソッド

定義

指定されたプロパティとその元の値の書式設定された文字列形式を作成します。これは、プロパティを使用するキーやインデックスなどに関する例外をスローする場合に便利です。

public static string BuildOriginalValuesString(this Microsoft.EntityFrameworkCore.Update.IUpdateEntry entry, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> properties);
static member BuildOriginalValuesString : Microsoft.EntityFrameworkCore.Update.IUpdateEntry * seq<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> -> string
<Extension()>
Public Function BuildOriginalValuesString (entry As IUpdateEntry, properties As IEnumerable(Of IPropertyBase)) As String

パラメーター

entry
IUpdateEntry

値の取得元となるエントリ。

properties
IEnumerable<IPropertyBase>

書式設定するプロパティ。

戻り値

文字列形式。

適用対象