다음을 통해 공유


IDbConnectionInterceptor.ConnectionOpened 메서드

정의

EF가 를 호출한 직후에 호출 Open()되었습니다.

public void ConnectionOpened (System.Data.Common.DbConnection connection, Microsoft.EntityFrameworkCore.Diagnostics.ConnectionEndEventData eventData);
public virtual void ConnectionOpened (System.Data.Common.DbConnection connection, Microsoft.EntityFrameworkCore.Diagnostics.ConnectionEndEventData eventData);
abstract member ConnectionOpened : System.Data.Common.DbConnection * Microsoft.EntityFrameworkCore.Diagnostics.ConnectionEndEventData -> unit
abstract member ConnectionOpened : System.Data.Common.DbConnection * Microsoft.EntityFrameworkCore.Diagnostics.ConnectionEndEventData -> unit
override this.ConnectionOpened : System.Data.Common.DbConnection * Microsoft.EntityFrameworkCore.Diagnostics.ConnectionEndEventData -> unit
Public Sub ConnectionOpened (connection As DbConnection, eventData As ConnectionEndEventData)
Public Overridable Sub ConnectionOpened (connection As DbConnection, eventData As ConnectionEndEventData)

매개 변수

connection
DbConnection

연결입니다.

eventData
ConnectionEndEventData

연결에 대한 컨텍스트 정보입니다.

적용 대상