DbContext.Dispose Method

Definition

Releases the allocated resources for this context.

public virtual void Dispose ();
abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit
Public Overridable Sub Dispose ()

Implements

Remarks

See DbContext lifetime, configuration, and initialization for more information and examples.

Applies to