共用方式為


StoredProcedurePropertyEventData 建構函式

定義

建構事件承載。

public StoredProcedurePropertyEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.IProperty property, string storedProcedureName);
new Microsoft.EntityFrameworkCore.Diagnostics.StoredProcedurePropertyEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Metadata.IProperty * string -> Microsoft.EntityFrameworkCore.Diagnostics.StoredProcedurePropertyEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), entityType As IEntityType, property As IProperty, storedProcedureName As String)

參數

eventDefinition
EventDefinitionBase

事件定義。

messageGenerator
Func<EventDefinitionBase,EventData,String>

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

entityType
IEntityType

預存程式所對應的實體類型。

property
IProperty

屬性。

storedProcedureName
String

預存程式名稱。

適用於