Share via


DbConnectionDispatcher.SetConnectionString Method

Definition

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

Parameters

connection
DbConnection

The connection on which the operation will be executed.

interceptionContext
DbConnectionPropertyInterceptionContext<String>

Information about the context of the call being made, including the value to be set.

Applies to