DbCommandDispatcher.Reader(DbCommand, DbCommandInterceptionContext) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
public virtual System.Data.Common.DbDataReader Reader(System.Data.Common.DbCommand command, System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext interceptionContext);
abstract member Reader : System.Data.Common.DbCommand * System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext -> System.Data.Common.DbDataReader
override this.Reader : System.Data.Common.DbCommand * System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext -> System.Data.Common.DbDataReader
Public Overridable Function Reader (command As DbCommand, interceptionContext As DbCommandInterceptionContext) As DbDataReader
パラメーター
- command
- DbCommand
操作を実行するコマンド。
- interceptionContext
- DbCommandInterceptionContext
行われる呼び出しのコンテキストに関するオプションの情報。
戻り値
インターセプターによって変更された可能性がある操作の結果。
注釈
コマンドを実行した結果は、このメソッドによって返されることに注意してください。 インターセプターに渡される前にインターセプト コンテキストが複製されるため、このメソッドに渡されるインターセプト コンテキストでは結果を使用できません。