DatabaseLogFormatter.LogResult<TResult>-Methode
[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 Overridable Sub LogResult(Of TResult) ( _
command As DbCommand, _
interceptionContext As DbCommandInterceptionContext(Of TResult) _
)
'Usage
Dim instance As DatabaseLogFormatter
Dim command As DbCommand
Dim interceptionContext As DbCommandInterceptionContext(Of TResult)
instance.LogResult(command, interceptionContext)
public virtual void LogResult<TResult>(
DbCommand command,
DbCommandInterceptionContext<TResult> interceptionContext
)
public:
generic<typename TResult>
virtual void LogResult(
DbCommand^ command,
DbCommandInterceptionContext<TResult>^ interceptionContext
)
abstract LogResult :
command:DbCommand *
interceptionContext:DbCommandInterceptionContext<'TResult> -> unit
override LogResult :
command:DbCommand *
interceptionContext:DbCommandInterceptionContext<'TResult> -> unit
JScript does not support generic types and methods.
Typparameter
- TResult
Parameter
- command
Typ: System.Data.Common.DbCommand
- interceptionContext
Typ: System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<TResult>