EntityConnection.Close 方法
定义
关闭与数据库之间的连接。Closes the connection to the database.
public:
override void Close();
public override void Close ();
override this.Close : unit -> unit
Public Overrides Sub Close ()
例外
关闭连接时出错。An error occurred when closing the connection.
注解
如果基础数据提供程序未知,则调用 Close 将不起任何作用。If the underlying data provider is not known, the call to Close does nothing.