Redigera

Dela via


EntityConnection.Close Method

Definition

Closes the connection to the database.

public:
 override void Close();
public override void Close ();
override this.Close : unit -> unit
Public Overrides Sub Close ()

Exceptions

An error occurred when closing the connection.

Remarks

If the underlying data provider is not known, the call to Close does nothing.

Applies to