DbContextScope icon indicating copy to clipboard operation
DbContextScope copied to clipboard

Create overload without parameter to replace parameter with default null

Open sliekens opened this issue 9 years ago • 1 comments

The DbContextScopeFactory class has a constructor with an optional argument. Optional arguments are not well supported by IoC libraries. In particular, SimpleInjector does not support them at all.

This commit refactors that constructor by splitting it into overloads with and without arguments.

Resolves #37

sliekens avatar May 20 '16 22:05 sliekens

Is this project still being maintained?

sliekens avatar Jun 30 '16 12:06 sliekens