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