Provides the basis for implementing the Ambient Context pattern, as well as a Clock implementation based on it.
The Ambient Context pattern is an Inversion of Control (IoC) pattern that provides static access to a dependency while controlling the dependency from the outside.
The pattern optimizes...
Manage your DbContexts the right way.
The persistence layer or infrastructure layer uses the DbContext (e.g. from a repository). Controlling its scope and transaction lifetime, however, is ideally the reponsibility of...