Class TenantDatabaseMigrationHandler
Implements
IDistributedEventHandler<TenantCreatedEto>
IEventHandler
IDistributedEventHandler<TenantConnectionStringUpdatedEto>
IDistributedEventHandler<ApplyDatabaseMigrationsEto>
ITransientDependency
Inherited Members
Namespace: Volo.Abp.OpenIddict.Pro.Blazor.Server.Host
Assembly: Volo.Abp.OpenIddict.Pro.Blazor.Server.Host.dll
Syntax
public class TenantDatabaseMigrationHandler : IDistributedEventHandler<TenantCreatedEto>, IEventHandler, IDistributedEventHandler<TenantConnectionStringUpdatedEto>, IDistributedEventHandler<ApplyDatabaseMigrationsEto>, ITransientDependency
Constructors
TenantDatabaseMigrationHandler(ICurrentTenant, IUnitOfWorkManager, IDataSeeder, ITenantStore, ILogger<TenantDatabaseMigrationHandler>)
Declaration
public TenantDatabaseMigrationHandler(ICurrentTenant currentTenant, IUnitOfWorkManager unitOfWorkManager, IDataSeeder dataSeeder, ITenantStore tenantStore, ILogger<TenantDatabaseMigrationHandler> logger)
Parameters
Type | Name | Description |
---|---|---|
ICurrentTenant | currentTenant | |
IUnitOfWorkManager | unitOfWorkManager | |
IDataSeeder | dataSeeder | |
ITenantStore | tenantStore | |
ILogger<TenantDatabaseMigrationHandler> | logger |
Methods
HandleEventAsync(ApplyDatabaseMigrationsEto)
Declaration
public Task HandleEventAsync(ApplyDatabaseMigrationsEto eventData)
Parameters
Type | Name | Description |
---|---|---|
ApplyDatabaseMigrationsEto | eventData |
Returns
Type | Description |
---|---|
Task |
HandleEventAsync(TenantConnectionStringUpdatedEto)
Declaration
public Task HandleEventAsync(TenantConnectionStringUpdatedEto eventData)
Parameters
Type | Name | Description |
---|---|---|
TenantConnectionStringUpdatedEto | eventData |
Returns
Type | Description |
---|---|
Task |
HandleEventAsync(TenantCreatedEto)
Declaration
public Task HandleEventAsync(TenantCreatedEto eventData)
Parameters
Type | Name | Description |
---|---|---|
TenantCreatedEto | eventData |
Returns
Type | Description |
---|---|
Task |
Implements
Volo.Abp.EventBus.Distributed.IDistributedEventHandler<>
Volo.Abp.EventBus.IEventHandler
Volo.Abp.EventBus.Distributed.IDistributedEventHandler<>
Volo.Abp.EventBus.Distributed.IDistributedEventHandler<>
Volo.Abp.DependencyInjection.ITransientDependency