UpdateEntryExtensions.ToDebugString Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a human-readable representation of the given IUpdateEntry.
Warning: Do not rely on the format of the returned string. It is designed for debugging only and may change arbitrarily between releases.
public static string ToDebugString (this Microsoft.EntityFrameworkCore.Update.IUpdateEntry updateEntry, Microsoft.EntityFrameworkCore.ChangeTracking.ChangeTrackerDebugStringOptions options, int indent = 0);
public static string ToDebugString (this Microsoft.EntityFrameworkCore.Update.IUpdateEntry updateEntry, Microsoft.EntityFrameworkCore.ChangeTracking.ChangeTrackerDebugStringOptions options = Microsoft.EntityFrameworkCore.ChangeTracking.ChangeTrackerDebugStringOptions.LongDefault, int indent = 0);
static member ToDebugString : Microsoft.EntityFrameworkCore.Update.IUpdateEntry * Microsoft.EntityFrameworkCore.ChangeTracking.ChangeTrackerDebugStringOptions * int -> string
<Extension()>
Public Function ToDebugString (updateEntry As IUpdateEntry, options As ChangeTrackerDebugStringOptions, Optional indent As Integer = 0) As String
<Extension()>
Public Function ToDebugString (updateEntry As IUpdateEntry, Optional options As ChangeTrackerDebugStringOptions = Microsoft.EntityFrameworkCore.ChangeTracking.ChangeTrackerDebugStringOptions.LongDefault, Optional indent As Integer = 0) As String
Parameters
- updateEntry
- IUpdateEntry
The entry.
- options
- ChangeTrackerDebugStringOptions
Options for generating the string.
- indent
- Int32
The number of indent spaces to use before each new line.
Returns
A human-readable representation.
Remarks
See EF Core debug views for more information and examples.
Applies to
Entity Framework