Skip to content

Class DatabaseTopologyRoleResolution

Namespace: Cephalon.Engine.AppModel
Assembly: Cephalon.Engine.dll

Describes one resolved Engine:Databases role selection, including any explicit role reference.

public sealed class DatabaseTopologyRoleResolution

objectDatabaseTopologyRoleResolution

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

DatabaseTopologyRoleResolution(string, string, DatabaseTargetSelection, DatabaseTargetSelection, string?)

Section titled “ DatabaseTopologyRoleResolution(string, string, DatabaseTargetSelection, DatabaseTargetSelection, string?)”

Initializes a new instance of the class.

public DatabaseTopologyRoleResolution(string requestedRoleId, string resolvedRoleId, DatabaseTargetSelection requestedTarget, DatabaseTargetSelection effectiveTarget, string? useRole = null)

requestedRoleId string

The logical role requested by the caller.

resolvedRoleId string

The concrete role that supplied the physical database target.

requestedTarget DatabaseTargetSelection

The target declared for the requested role.

effectiveTarget DatabaseTargetSelection

The effective target after applying any role reference.

useRole string?

The referenced concrete role declared by the requested target, when present.

Gets the effective target after applying any role reference.

public DatabaseTargetSelection EffectiveTarget { get; }

DatabaseTargetSelection

Gets the logical role requested by the caller.

public string RequestedRoleId { get; }

string

Gets the target declared for the requested role.

public DatabaseTargetSelection RequestedTarget { get; }

DatabaseTargetSelection

Gets the stable resolution mode used by runtime introspection surfaces.

public string ResolutionMode { get; }

string

Gets the concrete role that supplied the effective provider and connection settings.

public string ResolvedRoleId { get; }

string

Gets the referenced concrete role declared by the requested target, when present.

public string? UseRole { get; }

string?

Gets a value indicating whether the requested role resolved through an explicit role reference.

public bool UsesRoleReference { get; }

bool