次の方法で共有


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

先頭に戻る

メソッド

  名前 説明
パブリック メソッド Equals (Object.Equals(Object) をオーバーライドします。)
パブリック メソッド Executed<TResult>
パブリック メソッド Executing<TResult>
プロテクト メソッド Finalize (Object から継承されています。)
パブリック メソッド GetHashCode (Object.GetHashCode() をオーバーライドします。)
パブリック メソッド GetType
パブリック メソッド LogCommand<TResult>
パブリック メソッド LogParameter<TResult>
パブリック メソッド LogResult<TResult>
プロテクト メソッド MemberwiseClone (Object から継承されています。)
パブリック メソッド NonQueryExecuted
パブリック メソッド NonQueryExecuting
パブリック メソッド ReaderExecuted
パブリック メソッド ReaderExecuting
パブリック メソッド ScalarExecuted
パブリック メソッド ScalarExecuting
パブリック メソッド ToString (Object.ToString() をオーバーライドします。)
プロテクト メソッド Write

先頭に戻る

スレッド セーフ

この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

関連項目

参照

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