共用方式為


DatabaseLogFormatter 建構函式 (Action<String>)

[This page is specific to the Entity Framework version 6.0 Beta. The latest version is available as the 'Entity Framework' NuGet package. For more information, see Entity Framework Releases and Versioning.]

命名空間:  System.Data.Entity.Infrastructure.Interception
組件:  EntityFramework (在 EntityFramework.dll 中)

語法

'宣告
Public Sub New ( _
    writeAction As Action(Of String) _
)
'用途
Dim writeAction As Action(Of String)

Dim instance As New DatabaseLogFormatter(writeAction)
public DatabaseLogFormatter(
    Action<string> writeAction
)
public:
DatabaseLogFormatter(
    Action<String^>^ writeAction
)
new : 
        writeAction:Action<string> -> DatabaseLogFormatter
public function DatabaseLogFormatter(
    writeAction : Action<String>
)

參數

請參閱

參考

DatabaseLogFormatter 類別

DatabaseLogFormatter 多載

System.Data.Entity.Infrastructure.Interception 命名空間