Show / Hide Table of Contents

Class SqliteDatabaseConnection

Class for handling the sqlite database connections

Inheritance
System.Object
ConnectionBase
DatabaseConnection
SqliteDatabaseConnection
Implements
System.ComponentModel.INotifyPropertyChanged
IDatabaseConnection
Inherited Members
DatabaseConnection.SetRootPath(String, Boolean)
DatabaseConnection.ToString()
DatabaseConnection.DatabaseName
DatabaseConnection.IsDatabaseStoredRootPath
DatabaseConnection.RootPath
DatabaseConnection.ServerName
DatabaseConnection.IsSqlite
ConnectionBase.NotifyPropertyChanged(String)
ConnectionBase.TestConnection()
ConnectionBase.FriendlyName
ConnectionBase.ConnectionStatus
ConnectionBase.ConnectionStatusMessage
ConnectionBase.PropertyChanged
Namespace: MESL.SqlRace.Domain
Assembly: MESL.SqlRace.Domain.dll
Syntax
public sealed class SqliteDatabaseConnection : DatabaseConnection, INotifyPropertyChanged, IDatabaseConnection

Properties

Identifier

Gets the identifier for the database

Declaration
public override string Identifier { get; }
Property Value
Type Description
System.String
Overrides
ConnectionBase.Identifier

NonFriendlyIdentifier

Gets the non identifier for the database

Declaration
public override string NonFriendlyIdentifier { get; }
Property Value
Type Description
System.String
Overrides
ConnectionBase.NonFriendlyIdentifier

Methods

GetConnectionInformation()

Gets the connection information

Declaration
public override ConnectionInformationBase GetConnectionInformation()
Returns
Type Description
ConnectionInformationBase

Connection information

Overrides
ConnectionBase.GetConnectionInformation()

GetConnectionString()

Gets the connection string for connecting to SQL Race. This can be a database connection string (e.g. for SQL Server) or a SQL Race Server connection string (containing details of IP addresses and port)

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

Connection string.

Overrides
ConnectionBase.GetConnectionString()

TestFilestreamAccess(ConnectionInformationBase, String, Boolean)

Tests the filestream access.

Declaration
protected override bool TestFilestreamAccess(ConnectionInformationBase connectionInformation, string rootPath, bool readOnly)
Parameters
Type Name Description
ConnectionInformationBase connectionInformation

The connection information.

System.String rootPath

The root path.

System.Boolean readOnly

User need rean only access

Returns
Type Description
System.Boolean
Overrides
ConnectionBase.TestFilestreamAccess(ConnectionInformationBase, String, Boolean)

Implements

System.ComponentModel.INotifyPropertyChanged
IDatabaseConnection
Back to top Generated by DocFX