'Declaration Public Overloads Shared Function RegisterContext( _ ByVal context As DbContext _ ) As IDisposable
public static IDisposable RegisterContext( DbContext context )
Parameters
- context
- An DbContext to set as default.
Return Value
An System.IDisposable to unregister the context.