次の方法で共有


DatabaseLogFormatter.LogCommand<TResult> メソッド

[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 Overridable Sub LogCommand(Of TResult) ( _
    command As DbCommand, _
    interceptionContext As DbCommandInterceptionContext(Of TResult) _
)
'使用
Dim instance As DatabaseLogFormatter 
Dim command As DbCommand 
Dim interceptionContext As DbCommandInterceptionContext(Of TResult)

instance.LogCommand(command, interceptionContext)
public virtual void LogCommand<TResult>(
    DbCommand command,
    DbCommandInterceptionContext<TResult> interceptionContext
)
public:
generic<typename TResult>
virtual void LogCommand(
    DbCommand^ command, 
    DbCommandInterceptionContext<TResult>^ interceptionContext
)
abstract LogCommand : 
        command:DbCommand * 
        interceptionContext:DbCommandInterceptionContext<'TResult> -> unit  
override LogCommand : 
        command:DbCommand * 
        interceptionContext:DbCommandInterceptionContext<'TResult> -> unit
JScript does not support generic types and methods.

型パラメーター

  • TResult

パラメーター

関連項目

参照

DatabaseLogFormatter クラス

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