共用方式為


UpdateEntryEventData 建構函式

定義

建構事件承載。

public UpdateEntryEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, Microsoft.EntityFrameworkCore.Update.IUpdateEntry entityEntry);
new Microsoft.EntityFrameworkCore.Diagnostics.UpdateEntryEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * Microsoft.EntityFrameworkCore.Update.IUpdateEntry -> Microsoft.EntityFrameworkCore.Diagnostics.UpdateEntryEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), entityEntry As IUpdateEntry)

參數

eventDefinition
EventDefinitionBase

事件定義。

messageGenerator
Func<EventDefinitionBase,EventData,String>

產生此事件記錄訊息的委派。

entityEntry
IUpdateEntry

屬性值已變更之實體實例的專案。

適用於