Show / Hide Table of Contents

Class DatabaseConnection

Inheritance
System.Object
ConnectionBase
DatabaseConnection
SqliteDatabaseConnection
SqlServerDatabaseConnection
Implements
System.ComponentModel.INotifyPropertyChanged
IDatabaseConnection
Inherited Members
ConnectionBase.GetConnectionInformation()
ConnectionBase.GetConnectionString()
ConnectionBase.NotifyPropertyChanged(String)
ConnectionBase.TestConnection()
ConnectionBase.TestFilestreamAccess(ConnectionInformationBase, String, Boolean)
ConnectionBase.FriendlyName
ConnectionBase.ConnectionStatus
ConnectionBase.ConnectionStatusMessage
ConnectionBase.NonFriendlyIdentifier
ConnectionBase.Identifier
ConnectionBase.PropertyChanged
Namespace: MESL.SqlRace.Domain
Assembly: MESL.SqlRace.Domain.dll
Syntax
public abstract class DatabaseConnection : ConnectionBase, INotifyPropertyChanged, IDatabaseConnection

Properties

DatabaseName

Gets the DatabaseName

Declaration
public string DatabaseName { get; protected set; }
Property Value
Type Description
System.String

IsDatabaseStoredRootPath

The root path setting comes from the database instead of the local setting

Declaration
public bool IsDatabaseStoredRootPath { get; }
Property Value
Type Description
System.Boolean

IsSqlite

Gets sets the IsSqlite property

Declaration
public bool IsSqlite { get; set; }
Property Value
Type Description
System.Boolean

RootPath

Gets the root path.

Declaration
public string RootPath { get; }
Property Value
Type Description
System.String

The root path.

ServerName

Gets the ServerName

Declaration
public string ServerName { get; protected set; }
Property Value
Type Description
System.String

Methods

SetRootPath(String, Boolean)

Updates the root path

Declaration
public void SetRootPath(string newRootPath, bool databaseStoredRootPath)
Parameters
Type Name Description
System.String newRootPath

The new root path

System.Boolean databaseStoredRootPath

The setting come from the database

ToString()

Returns a System.String that represents this instance.

Declaration
public override string ToString()
Returns
Type Description
System.String

A System.String that represents this instance.

Implements

System.ComponentModel.INotifyPropertyChanged
IDatabaseConnection

See Also

ConnectionBase
IDatabaseConnection
Back to top Generated by DocFX