CoreLoggerExtensions.ValueGenerated 方法

定义

ValueGenerated事件的日志。

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)

参数

diagnostics
IDiagnosticsLogger<DbLoggerCategory.ChangeTracking>

要使用的诊断记录器。

internalEntityEntry
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry

内部实体条目。

property
IProperty

属性。

value
Object

生成的值。

temporary
Boolean

指示值是临时值还是永久值。

适用于