Skip to content

Commit 937780b

Browse files
committed
Design: Maintain Scaffolding compatibility
1 parent 3c154bd commit 937780b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/EFCore.Design/Design/Internal/DatabaseOperations.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,18 @@ public class DatabaseOperations
2121
private readonly string _rootNamespace;
2222
private readonly DesignTimeServicesBuilder _servicesBuilder;
2323

24+
// This obsolete constructor maintains compatibility with Scaffolding
25+
public DatabaseOperations(
26+
[NotNull] IOperationReporter reporter,
27+
[NotNull] Assembly startupAssembly,
28+
[CanBeNull] string environment,
29+
[NotNull] string projectDir,
30+
[NotNull] string rootNamespace,
31+
[CanBeNull] string contentRootPath)
32+
: this(reporter, startupAssembly, environment, projectDir, rootNamespace)
33+
{
34+
}
35+
2436
public DatabaseOperations(
2537
[NotNull] IOperationReporter reporter,
2638
[NotNull] Assembly startupAssembly,

0 commit comments

Comments
 (0)