Langue

UpdateEntryExtensions.ToDebugString Méthode

Définition

Crée une représentation lisible par l’homme de l’élément donné IUpdateEntry.

Avertissement : Ne vous appuyez pas sur le format de la chaîne retournée. Il est conçu pour le débogage uniquement et peut changer arbitrairement entre les versions.

public static string ToDebugString(this Microsoft.EntityFrameworkCore.Update.IUpdateEntry updateEntry, Microsoft.EntityFrameworkCore.ChangeTracking.ChangeTrackerDebugStringOptions options = Microsoft.EntityFrameworkCore.ChangeTracking.ChangeTrackerDebugStringOptions.LongDefault, int indent = 0);
public static string ToDebugString(this Microsoft.EntityFrameworkCore.Update.IUpdateEntry updateEntry, Microsoft.EntityFrameworkCore.ChangeTracking.ChangeTrackerDebugStringOptions options, int indent = 0);
static member ToDebugString : Microsoft.EntityFrameworkCore.Update.IUpdateEntry * Microsoft.EntityFrameworkCore.ChangeTracking.ChangeTrackerDebugStringOptions * int -> string
<Extension()>
Public Function ToDebugString (updateEntry As IUpdateEntry, Optional options As ChangeTrackerDebugStringOptions = Microsoft.EntityFrameworkCore.ChangeTracking.ChangeTrackerDebugStringOptions.LongDefault, Optional indent As Integer = 0) As String
<Extension()>
Public Function ToDebugString (updateEntry As IUpdateEntry, options As ChangeTrackerDebugStringOptions, Optional indent As Integer = 0) As String

Paramètres

updateEntry
IUpdateEntry

Entrée.

options
ChangeTrackerDebugStringOptions

Options de génération de la chaîne.

indent
Int32

Nombre d’espaces de retrait à utiliser avant chaque nouvelle ligne.

Retours

Représentation lisible par l’homme.

Remarques

Pour plus d’informations et d’exemples, consultez les vues de débogage EF Core .

S’applique à