Partilhar via


DbConnectionDispatcher.SetConnectionString Método

Definição

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

Parâmetros

connection
DbConnection

A conexão na qual a operação será executada.

interceptionContext
DbConnectionPropertyInterceptionContext<String>

Informações sobre o contexto da chamada que está sendo feita, incluindo o valor a ser definido.

Aplica-se a