DatabaseLogFormatter-Konstruktor (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.]
Namespace: System.Data.Entity.Infrastructure.Interception
Assembly: EntityFramework (in EntityFramework.dll)
Syntax
'Declaration
Public Sub New ( _
context As DbContext, _
writeAction As Action(Of String) _
)
'Usage
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>
)
Parameter
- context
Typ: System.Data.Entity.DbContext
- writeAction
Typ: System.Action<String>