共用方式為


DatabaseLogFormatter.ReaderExecuting 方法

[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 ReaderExecuting ( _
    command As DbCommand, _
    interceptionContext As DbCommandInterceptionContext(Of DbDataReader) _
)
'用途
Dim instance As DatabaseLogFormatter 
Dim command As DbCommand 
Dim interceptionContext As DbCommandInterceptionContext(Of DbDataReader)

instance.ReaderExecuting(command, interceptionContext)
public virtual void ReaderExecuting(
    DbCommand command,
    DbCommandInterceptionContext<DbDataReader> interceptionContext
)
public:
virtual void ReaderExecuting(
    DbCommand^ command, 
    DbCommandInterceptionContext<DbDataReader^>^ interceptionContext
)
abstract ReaderExecuting : 
        command:DbCommand * 
        interceptionContext:DbCommandInterceptionContext<DbDataReader> -> unit  
override ReaderExecuting : 
        command:DbCommand * 
        interceptionContext:DbCommandInterceptionContext<DbDataReader> -> unit
public function ReaderExecuting(
    command : DbCommand, 
    interceptionContext : DbCommandInterceptionContext<DbDataReader>
)

參數

實作

IDbCommandInterceptor.ReaderExecuting(DbCommand, DbCommandInterceptionContext<DbDataReader>)

請參閱

參考

DatabaseLogFormatter 類別

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