DatabaseLogFormatter 类
[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.Object
System.Data.Entity.Infrastructure.Interception.DatabaseLogFormatter
命名空间: System.Data.Entity.Infrastructure.Interception
程序集: EntityFramework(在 EntityFramework.dll 中)
语法
声明
Public Class DatabaseLogFormatter _
Implements IDbCommandInterceptor, IDbInterceptor
用法
Dim instance As DatabaseLogFormatter
public class DatabaseLogFormatter : IDbCommandInterceptor,
IDbInterceptor
public ref class DatabaseLogFormatter : IDbCommandInterceptor,
IDbInterceptor
type DatabaseLogFormatter =
class
interface IDbCommandInterceptor
interface IDbInterceptor
end
public class DatabaseLogFormatter implements IDbCommandInterceptor, IDbInterceptor
DatabaseLogFormatter 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
DatabaseLogFormatter(Action<String>) | ||
DatabaseLogFormatter(DbContext, Action<String>) |
页首
属性
名称 | 说明 | |
---|---|---|
Context | ||
Stopwatch |
页首
方法
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。