Interface IDatabaseConnection
Interface that needs to be implemented by database connections
Namespace: MESL.SqlRace.Domain.Interfaces
Assembly: MESL.SqlRace.Domain.dll
Syntax
public interface IDatabaseConnection
Properties
FriendlyName
Gets the FriendlyName
Declaration
string FriendlyName { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
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
string GetConnectionString()
Returns
Type | Description |
---|---|
System.String | Connection string. |