Class SqliteDatabaseConnection
Class for handling the sqlite database connections
Inherited Members
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
NonFriendlyIdentifier
Gets the non identifier for the database
Declaration
public override string NonFriendlyIdentifier { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
GetConnectionInformation()
Gets the connection information
Declaration
public override ConnectionInformationBase GetConnectionInformation()
Returns
Type | Description |
---|---|
ConnectionInformationBase | Connection information |
Overrides
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
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
Implements
System.ComponentModel.INotifyPropertyChanged