Table of Contents

Class DebugView

Namespace
Microsoft.EntityFrameworkCore.Infrastructure
Assembly
Microsoft.EntityFrameworkCore.dll

A placeholder for lazily-generated debug strings that can be expanded in the debugger to to generate and display them.

public class DebugView
Inheritance
DebugView
Inherited Members

Remarks

See EF Core debug views for more information and examples.

Constructors

DebugView(Func<string>, Func<string>)

Constructs a new DebugView with delegates for short and long debug strings.

public DebugView(Func<string> toShortDebugString, Func<string> toLongDebugString)

Parameters

toShortDebugString Func<string>

Delegate to create the short debug string.

toLongDebugString Func<string>

Delegate to create the long debug string.

Properties

LongView

The long-form, detailed debug string.

public virtual string LongView { get; }

Property Value

string

Remarks

See EF Core debug views for more information and examples.

ShortView

The short-form, less-detailed debug string.

public virtual string ShortView { get; }

Property Value

string

Remarks

See EF Core debug views for more information and examples.