共用方式為


ColumnsEventData 建構函式

定義

建構事件承載。

public ColumnsEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, System.Collections.Generic.IReadOnlyList<string> columns);
new Microsoft.EntityFrameworkCore.Diagnostics.ColumnsEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier * System.Collections.Generic.IReadOnlyList<string> -> Microsoft.EntityFrameworkCore.Diagnostics.ColumnsEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), storeObject As StoreObjectIdentifier, columns As IReadOnlyList(Of String))

參數

eventDefinition
EventDefinitionBase

事件定義。

messageGenerator
Func<EventDefinitionBase,EventData,String>

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

storeObject
StoreObjectIdentifier

資料表。

columns
IReadOnlyList<String>

資料行。

適用於