From 37ceeedb7e4614211f80f89d3d8e38b9f99566d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Wed, 21 Jun 2023 11:56:24 +0300 Subject: [PATCH] Rename DatabaseMigrationEventHandlerBase to EfCoreDatabaseMigrationEventHandlerBase --- ...Base.cs => EfCoreDatabaseMigrationEventHandlerBase.cs} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/Migrations/{DatabaseMigrationEventHandlerBase.cs => EfCoreDatabaseMigrationEventHandlerBase.cs} (97%) diff --git a/framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/Migrations/DatabaseMigrationEventHandlerBase.cs b/framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/Migrations/EfCoreDatabaseMigrationEventHandlerBase.cs similarity index 97% rename from framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/Migrations/DatabaseMigrationEventHandlerBase.cs rename to framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/Migrations/EfCoreDatabaseMigrationEventHandlerBase.cs index ce7e21dc0a..d9fc7db914 100644 --- a/framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/Migrations/DatabaseMigrationEventHandlerBase.cs +++ b/framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/Migrations/EfCoreDatabaseMigrationEventHandlerBase.cs @@ -14,7 +14,7 @@ using Volo.Abp.Uow; namespace Volo.Abp.EntityFrameworkCore.Migrations; -public abstract class DatabaseMigrationEventHandlerBase : +public abstract class EfCoreDatabaseMigrationEventHandlerBase : IDistributedEventHandler, IDistributedEventHandler, IDistributedEventHandler, @@ -41,9 +41,9 @@ public abstract class DatabaseMigrationEventHandlerBase : protected IUnitOfWorkManager UnitOfWorkManager { get; } protected ITenantStore TenantStore { get; } protected IDistributedEventBus DistributedEventBus { get; } - protected ILogger> Logger { get; } + protected ILogger> Logger { get; } - protected DatabaseMigrationEventHandlerBase( + protected EfCoreDatabaseMigrationEventHandlerBase( string databaseName, ICurrentTenant currentTenant, IUnitOfWorkManager unitOfWorkManager, @@ -57,7 +57,7 @@ public abstract class DatabaseMigrationEventHandlerBase : DatabaseName = databaseName; DistributedEventBus = distributedEventBus; - Logger = loggerFactory.CreateLogger>(); + Logger = loggerFactory.CreateLogger>(); } public virtual async Task HandleEventAsync(ApplyDatabaseMigrationsEto eventData)