DbConnectionDispatcher.SetConnectionString 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public virtual void SetConnectionString (System.Data.Common.DbConnection connection, System.Data.Entity.Infrastructure.Interception.DbConnectionPropertyInterceptionContext<string> interceptionContext);
abstract member SetConnectionString : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbConnectionPropertyInterceptionContext<string> -> unit
override this.SetConnectionString : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbConnectionPropertyInterceptionContext<string> -> unit
Public Overridable Sub SetConnectionString (connection As DbConnection, interceptionContext As DbConnectionPropertyInterceptionContext(Of String))
參數
- connection
- DbConnection
執行作業的連線。
- interceptionContext
- DbConnectionPropertyInterceptionContext<String>
要設定之呼叫內容的相關資訊,包括要設定的值。