RelationalDatabaseFacadeExtensions.CloseConnection(DatabaseFacade) 方法

定义

关闭基础 DbConnection

public static void CloseConnection (this Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade databaseFacade);
static member CloseConnection : Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade -> unit
<Extension()>
Public Sub CloseConnection (databaseFacade As DatabaseFacade)

参数

databaseFacade
DatabaseFacade

DatabaseFacade上下文的 。

注解

有关详细信息 和示例,请参阅连接和连接字符串

适用于