RelationalConnection.CloseDbConnection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Template method that by default calls Close() but can be overridden by providers to make a different call instead.
protected virtual void CloseDbConnection ();
abstract member CloseDbConnection : unit -> unit
override this.CloseDbConnection : unit -> unit
Protected Overridable Sub CloseDbConnection ()
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework