Class DatabaseTargetSelection
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.AppModel
Assembly: Cephalon.Abstractions.dll
Describes one database role target resolved for a Cephalon app.
public sealed class DatabaseTargetSelectionInheritance
Section titled “Inheritance”object ← DatabaseTargetSelection
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”DatabaseTargetSelection(string?, string?, string?, string?, string?, DatabaseRuntimeSelection?)
Section titled “ DatabaseTargetSelection(string?, string?, string?, string?, string?, DatabaseRuntimeSelection?)”Initializes a new instance of the
[JsonConstructor]public DatabaseTargetSelection(string? provider = null, string? connectionStringName = null, string? connectionString = null, string? useRole = null, string? schema = null, DatabaseRuntimeSelection? runtime = null)Parameters
Section titled “Parameters”provider string?
connectionStringName string?
connectionString string?
useRole string?
schema string?
runtime DatabaseRuntimeSelection?
Properties
Section titled “Properties”ConnectionString
Section titled “ ConnectionString”Gets the inline connection string selected for this database role.
public string? ConnectionString { get; }Property Value
Section titled “Property Value”ConnectionStringName
Section titled “ ConnectionStringName”Gets the root connection-string name selected for this database role.
public string? ConnectionStringName { get; }Property Value
Section titled “Property Value”Gets an empty database-target selection instance.
public static DatabaseTargetSelection Empty { get; }Property Value
Section titled “Property Value”HasValues
Section titled “ HasValues”Gets a value indicating whether any target-selection inputs were explicitly supplied.
public bool HasValues { get; }Property Value
Section titled “Property Value”Provider
Section titled “ Provider”Gets the selected logical provider identifier.
public string? Provider { get; }Property Value
Section titled “Property Value”Runtime
Section titled “ Runtime”Gets the role-specific runtime overrides for this database target.
public DatabaseRuntimeSelection Runtime { get; }Property Value
Section titled “Property Value”Schema
Section titled “ Schema”Gets the schema override selected for this database role.
public string? Schema { get; }Property Value
Section titled “Property Value”UseRole
Section titled “ UseRole”Gets the referenced concrete database role that supplies the physical connection target.
public string? UseRole { get; }