DatabaseLogFormatter コンストラクター (DbContext, 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 ( _
context As DbContext, _
writeAction As Action(Of String) _
)
'使用
Dim context As DbContext
Dim writeAction As Action(Of String)
Dim instance As New DatabaseLogFormatter(context, _
writeAction)
public DatabaseLogFormatter(
DbContext context,
Action<string> writeAction
)
public:
DatabaseLogFormatter(
DbContext^ context,
Action<String^>^ writeAction
)
new :
context:DbContext *
writeAction:Action<string> -> DatabaseLogFormatter
public function DatabaseLogFormatter(
context : DbContext,
writeAction : Action<String>
)
パラメーター
- context
型: System.Data.Entity.DbContext
- writeAction
型: System.Action<String>