共用方式為


ForeignKeyEventData 建構函式

定義

多載

ForeignKeyEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, IForeignKey)

建構事件承載。

ForeignKeyEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, IReadOnlyForeignKey)

建構事件承載。

ForeignKeyEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, IForeignKey)

來源:
ForeignKeyEventData.cs
來源:
ForeignKeyEventData.cs
來源:
ForeignKeyEventData.cs
來源:
ForeignKeyEventData.cs
來源:
ForeignKeyEventData.cs

建構事件承載。

public ForeignKeyEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey);
new Microsoft.EntityFrameworkCore.Diagnostics.ForeignKeyEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> Microsoft.EntityFrameworkCore.Diagnostics.ForeignKeyEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), foreignKey As IForeignKey)

參數

eventDefinition
EventDefinitionBase

事件定義。

messageGenerator
Func<EventDefinitionBase,EventData,String>

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

foreignKey
IForeignKey

外部索引鍵。

適用於

ForeignKeyEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, IReadOnlyForeignKey)

來源:
ForeignKeyEventData.cs
來源:
ForeignKeyEventData.cs
來源:
ForeignKeyEventData.cs
來源:
ForeignKeyEventData.cs

建構事件承載。

public ForeignKeyEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey foreignKey);
new Microsoft.EntityFrameworkCore.Diagnostics.ForeignKeyEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey -> Microsoft.EntityFrameworkCore.Diagnostics.ForeignKeyEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), foreignKey As IReadOnlyForeignKey)

參數

eventDefinition
EventDefinitionBase

事件定義。

messageGenerator
Func<EventDefinitionBase,EventData,String>

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

foreignKey
IReadOnlyForeignKey

外部索引鍵。

適用於