Class TenantDatabaseMigratedEventData
Represents the data passed as an argument of a ITenantDatabaseMigrationInterceptor.OnTenantDatabaseMigratedAsync(TenantDatabaseMigratedEventData event).
[ExcludeFromCodeCoverage(Justification = "POCO class with obsolete properties.")]
public sealed record TenantDatabaseMigratedEventData : IEquatable<TenantDatabaseMigratedEventData>
- Inheritance
-
TenantDatabaseMigratedEventData
- Implements
- Inherited Members
Constructors
TenantDatabaseMigratedEventData(NeosTenantInfo, TenantUserInfo?, TenantUserInfo?, MigrationOptions?, MigrationResult?)
Represents the data passed as an argument of a ITenantDatabaseMigrationInterceptor.OnTenantDatabaseMigratedAsync(TenantDatabaseMigratedEventData event).
public TenantDatabaseMigratedEventData(NeosTenantInfo Tenant, TenantUserInfo? ClientAdministrator = null, TenantUserInfo? PublisherAdministrator = null, MigrationOptions? MigrationOptions = null, MigrationResult? MigrationResult = null)
Parameters
TenantNeosTenantInfoGets the current tenant.
ClientAdministratorTenantUserInfoGets the client tenant administrator. It is filled in at the tenant creation.
PublisherAdministratorTenantUserInfoGets the publisher tenant administrator. It is filled in at the tenant creation.
MigrationOptionsMigrationOptionsGets the migration options.
MigrationResultMigrationResultGets the migration result.
Fields
Empty
Provides a value to use with events that do not need event data.
public static readonly TenantDatabaseMigratedEventData Empty
Field Value
Properties
ClientAdministrator
Gets the client tenant administrator. It is filled in at the tenant creation.
public TenantUserInfo? ClientAdministrator { get; init; }
Property Value
ClientAdministratorLogin
Gets the login of the client administrator.
public string? ClientAdministratorLogin { get; }
Property Value
MigrationOptions
Gets the migration options.
public MigrationOptions? MigrationOptions { get; init; }
Property Value
MigrationResult
Gets the migration result.
public MigrationResult? MigrationResult { get; init; }
Property Value
PublisherAdministrator
Gets the publisher tenant administrator. It is filled in at the tenant creation.
public TenantUserInfo? PublisherAdministrator { get; init; }
Property Value
PublisherAdministratorLogin
Gets the login of the publisher administrator.
public string? PublisherAdministratorLogin { get; }
Property Value
Tenant
Gets the current tenant.
public NeosTenantInfo Tenant { get; init; }