다음을 통해 공유


IDbConnectionInterceptor.ConnectionClosed 메서드

정의

EF가 비동기 컨텍스트에서 호출된 직후에 호출 Close() 됩니다.

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

매개 변수

connection
DbConnection

연결입니다.

eventData
ConnectionEndEventData

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

적용 대상