Udostępnij przez


DbConnectionDispatcher.SetConnectionString Metoda

Definicja

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))

Parametry

connection
DbConnection

Połączenie, na którym zostanie wykonana operacja.

interceptionContext
DbConnectionPropertyInterceptionContext<String>

Informacje o kontekście wykonywanego wywołania, w tym wartość, która ma zostać ustawiona.

Dotyczy