IDbConnectionInterceptor.ServerVersionGot 方法

定义

在检索后 ServerVersion 调用。

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

参数

connection
DbConnection

连接。

interceptionContext
DbConnectionInterceptionContext<String>

与调用关联的上下文信息。

适用于