Поделиться через


IDbConnectionInterceptor.ConnectionStringSetting Метод

Определение

Вызывается до ConnectionString установки.

public void ConnectionStringSetting (System.Data.Common.DbConnection connection, System.Data.Entity.Infrastructure.Interception.DbConnectionPropertyInterceptionContext<string> interceptionContext);
abstract member ConnectionStringSetting : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbConnectionPropertyInterceptionContext<string> -> unit
Public Sub ConnectionStringSetting (connection As DbConnection, interceptionContext As DbConnectionPropertyInterceptionContext(Of String))

Параметры

connection
DbConnection

Соединение.

interceptionContext
DbConnectionPropertyInterceptionContext<String>

Контекстная информация, связанная с вызовом.

Применяется к