Partilhar via


CoreLoggerExtensions.ValueGenerated Method

Definition

Logs for the ValueGenerated event.

public static void ValueGenerated (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.ChangeTracking> diagnostics, Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry internalEntityEntry, Microsoft.EntityFrameworkCore.Metadata.IProperty property, object value, bool temporary);
public static void ValueGenerated (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.ChangeTracking> diagnostics, Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry internalEntityEntry, Microsoft.EntityFrameworkCore.Metadata.IProperty property, object? value, bool temporary);
static member ValueGenerated : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.ChangeTracking> * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry * Microsoft.EntityFrameworkCore.Metadata.IProperty * obj * bool -> unit
<Extension()>
Public Sub ValueGenerated (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.ChangeTracking), internalEntityEntry As InternalEntityEntry, property As IProperty, value As Object, temporary As Boolean)

Parameters

diagnostics
IDiagnosticsLogger<DbLoggerCategory.ChangeTracking>

The diagnostics logger to use.

internalEntityEntry
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry

The internal entity entry.

property
IProperty

The property.

value
Object

The value generated.

temporary
Boolean

Indicates whether the value is a temporary or permanent value.

Applies to