Show / Hide Table of Contents

Class MongoDatabaseMigrationEventHandlerBase<TDbContext>

Inheritance
object
MongoDatabaseMigrationEventHandlerBase<TDbContext>
Implements
IDistributedEventHandler<TenantCreatedEto>
IDistributedEventHandler<TenantConnectionStringUpdatedEto>
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.MongoDB.Migrations
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
Type Description
string

Methods

AfterTenantConnectionStringUpdated(TenantConnectionStringUpdatedEto)

Declaration
protected virtual Task AfterTenantConnectionStringUpdated(TenantConnectionStringUpdatedEto eventData)
Parameters
Type Name Description
TenantConnectionStringUpdatedEto eventData
Returns
Type Description
Task

AfterTenantCreated(TenantCreatedEto)

Declaration
protected virtual Task AfterTenantCreated(TenantCreatedEto eventData)
Parameters
Type Name Description
TenantCreatedEto eventData
Returns
Type Description
Task

HandleEventAsync(TenantConnectionStringUpdatedEto)

Declaration
public virtual Task HandleEventAsync(TenantConnectionStringUpdatedEto eventData)
Parameters
Type Name Description
TenantConnectionStringUpdatedEto eventData
Returns
Type Description
Task

HandleEventAsync(TenantCreatedEto)

Declaration
public virtual Task HandleEventAsync(TenantCreatedEto eventData)
Parameters
Type Name Description
TenantCreatedEto eventData
Returns
Type Description
Task

SeedAsync(Guid?)

Declaration
protected virtual Task SeedAsync(Guid? tenantId)
Parameters
Type Name Description
Guid? tenantId
Returns
Type Description
Task

Implements

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>>)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by Volosoft