Skip to content

Class DatabaseTopologySelection

Namespace: Cephalon.Abstractions.AppModel
Assembly: Cephalon.Abstractions.dll

Describes the active database topology inputs resolved for a Cephalon app.

public sealed class DatabaseTopologySelection

objectDatabaseTopologySelection

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

DatabaseTopologySelection(DatabaseRuntimeSelection?, DatabaseTargetSelection?, DatabaseTargetSelection?, DatabaseTargetSelection?, DatabaseTargetSelection?, DatabaseMigrationsSelection?)

Section titled “ DatabaseTopologySelection(DatabaseRuntimeSelection?, DatabaseTargetSelection?, DatabaseTargetSelection?, DatabaseTargetSelection?, DatabaseTargetSelection?, DatabaseMigrationsSelection?)”

Initializes a new instance of the class.

[JsonConstructor]
public DatabaseTopologySelection(DatabaseRuntimeSelection? runtime = null, DatabaseTargetSelection? write = null, DatabaseTargetSelection? read = null, DatabaseTargetSelection? outbox = null, DatabaseTargetSelection? history = null, DatabaseMigrationsSelection? migrations = null)

runtime DatabaseRuntimeSelection?

write DatabaseTargetSelection?

read DatabaseTargetSelection?

outbox DatabaseTargetSelection?

history DatabaseTargetSelection?

migrations DatabaseMigrationsSelection?

Gets an empty database-topology selection instance.

public static DatabaseTopologySelection Empty { get; }

DatabaseTopologySelection

Gets a value indicating whether any database-topology inputs were explicitly supplied.

public bool HasValues { get; }

bool

Gets the audit-history database target selection.

public DatabaseTargetSelection History { get; }

DatabaseTargetSelection

Gets the database-migration selection.

public DatabaseMigrationsSelection Migrations { get; }

DatabaseMigrationsSelection

Gets the outbox database target selection.

public DatabaseTargetSelection Outbox { get; }

DatabaseTargetSelection

Gets the read-side database target selection.

public DatabaseTargetSelection Read { get; }

DatabaseTargetSelection

Gets the shared runtime tuning selected for database roles.

public DatabaseRuntimeSelection Runtime { get; }

DatabaseRuntimeSelection

Gets the write-side database target selection.

public DatabaseTargetSelection Write { get; }

DatabaseTargetSelection