Метод DatabaseLogFormatter.LogParameter<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 LogParameter(Of TResult) ( _
command As DbCommand, _
interceptionContext As DbCommandInterceptionContext(Of TResult), _
parameter As DbParameter _
)
'Применение
Dim instance As DatabaseLogFormatter
Dim command As DbCommand
Dim interceptionContext As DbCommandInterceptionContext(Of TResult)
Dim parameter As DbParameter
instance.LogParameter(command, interceptionContext, _
parameter)
public virtual void LogParameter<TResult>(
DbCommand command,
DbCommandInterceptionContext<TResult> interceptionContext,
DbParameter parameter
)
public:
generic<typename TResult>
virtual void LogParameter(
DbCommand^ command,
DbCommandInterceptionContext<TResult>^ interceptionContext,
DbParameter^ parameter
)
abstract LogParameter :
command:DbCommand *
interceptionContext:DbCommandInterceptionContext<'TResult> *
parameter:DbParameter -> unit
override LogParameter :
command:DbCommand *
interceptionContext:DbCommandInterceptionContext<'TResult> *
parameter:DbParameter -> unit
JScript does not support generic types and methods.
Параметры типа
- TResult
Параметры
- command
Тип: System.Data.Common.DbCommand
- interceptionContext
Тип: System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<TResult>
- parameter
Тип: System.Data.Common.DbParameter
См. также
Справочник
Пространство имен System.Data.Entity.Infrastructure.Interception