Skip to content

Commit 18dc0fa

Browse files
Added todo comment in DatabaseMigrationService
1 parent 699150a commit 18dc0fa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/DotNetElements.AppFramework/EfCore/DatabaseMigrationService.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
namespace DotNetElements.AppFramework;
22

3+
4+
// todo improvements
5+
// Provide version that is registered as transient
6+
// - Takes IServiceScopeFactory to create a scope to resolve the TDbContext from
7+
// - Used for scenarios where the migration is not run within a service scope
38
public interface IDatabaseMigrationService<TDbContext>
49
where TDbContext : DbContext
510
{

0 commit comments

Comments
 (0)