Show / Hide Table of Contents

Class TenantDatabaseMigrationHandler

Inheritance
object
TenantDatabaseMigrationHandler
Implements
IDistributedEventHandler<TenantCreatedEto>
IDistributedEventHandler<TenantConnectionStringUpdatedEto>
IDistributedEventHandler<ApplyDatabaseMigrationsEto>
IEventHandler
ITransientDependency
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.OpenIddict.Pro.Blazor.Server.Host
Assembly: Volo.Abp.OpenIddict.Pro.Blazor.Server.Host.dll
Syntax
public class TenantDatabaseMigrationHandler : IDistributedEventHandler<TenantCreatedEto>, IDistributedEventHandler<TenantConnectionStringUpdatedEto>, IDistributedEventHandler<ApplyDatabaseMigrationsEto>, IEventHandler, 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

IDistributedEventHandler<TEvent>
IDistributedEventHandler<TEvent>
IDistributedEventHandler<TEvent>
IEventHandler
ITransientDependency

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform