25 lines
		
	
	
		
			807 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			807 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System;
 | |
| using KonSoft.Admin.EntityFrameworkCore;
 | |
| using KonSoft.Shared.Hosting.Microservices.DbMigrations.EfCore;
 | |
| using Volo.Abp.DistributedLocking;
 | |
| using Volo.Abp.EventBus.Distributed;
 | |
| using Volo.Abp.MultiTenancy;
 | |
| using Volo.Abp.Uow;
 | |
| 
 | |
| namespace KonSoft.Admin.DbMigrations;
 | |
| 
 | |
| public class AdminPendingEfCoreMigrationsChecker : PendingEfCoreMigrationsChecker<AdminDbContext>
 | |
| {
 | |
|     public AdminPendingEfCoreMigrationsChecker(IUnitOfWorkManager unitOfWorkManager,
 | |
|         IServiceProvider serviceProvider,
 | |
|         ICurrentTenant currentTenant,
 | |
|         IDistributedEventBus distributedEventBus,
 | |
|         IAbpDistributedLock abpDistributedLock) : base(unitOfWorkManager,
 | |
|         serviceProvider,
 | |
|         currentTenant,
 | |
|         distributedEventBus,
 | |
|         abpDistributedLock,
 | |
|         "Clean")
 | |
|     {
 | |
|     }
 | |
| } |