Class MongoDatabaseMigrationEventHandlerBase<TDbContext>
Inheritance
MongoDatabaseMigrationEventHandlerBase<TDbContext>
Assembly: Volo.Abp.MongoDB.dll
Syntax
public abstract class MongoDatabaseMigrationEventHandlerBase<TDbContext> : IDistributedEventHandler<TenantCreatedEto>, IDistributedEventHandler<TenantConnectionStringUpdatedEto>, IEventHandler, ITransientDependency where TDbContext : IAbpMongoDbContext
Type Parameters
| Name |
Description |
| TDbContext |
|
Constructors
MongoDatabaseMigrationEventHandlerBase(string)
Declaration
protected MongoDatabaseMigrationEventHandlerBase(string databaseName)
Parameters
| Type |
Name |
Description |
| string |
databaseName |
|
Properties
DatabaseName
Declaration
protected string DatabaseName { get; }
Property Value
Methods
AfterTenantConnectionStringUpdated(TenantConnectionStringUpdatedEto)
Declaration
protected virtual Task AfterTenantConnectionStringUpdated(TenantConnectionStringUpdatedEto eventData)
Parameters
Returns
AfterTenantCreated(TenantCreatedEto)
Declaration
protected virtual Task AfterTenantCreated(TenantCreatedEto eventData)
Parameters
Returns
HandleEventAsync(TenantConnectionStringUpdatedEto)
Declaration
public virtual Task HandleEventAsync(TenantConnectionStringUpdatedEto eventData)
Parameters
Returns
HandleEventAsync(TenantCreatedEto)
Declaration
public virtual Task HandleEventAsync(TenantCreatedEto eventData)
Parameters
Returns
SeedAsync(Guid?)
Declaration
protected virtual Task SeedAsync(Guid? tenantId)
Parameters
| Type |
Name |
Description |
| Guid? |
tenantId |
|
Returns
Implements
Extension Methods