docs: Add example links for SQLite, MySQL, & Postgres connection strings
Provides links to example connection string formats for SQLite, MySQL, and Postgres to assist users in configuring database connections more effectively.
This commit is contained in:
parent
2fa07303f7
commit
d0e5c84a79
1 changed files with 5 additions and 0 deletions
|
|
@ -536,6 +536,7 @@ namespace TShockAPI.Configuration
|
|||
/// The connection string to use when connecting to a SQLite database.
|
||||
/// </summary>
|
||||
/// <remarks>This property will override the <see cref="SqliteDBPath"/> property, if used.</remarks>
|
||||
/// <seealso href="https://www.connectionstrings.com/sqlite-net-provider/">Example SQLite connection strings (connectionstrings.com)</seealso>
|
||||
[Description("The connection string to use when connecting to a SQLite database. This property will override the SqliteDBPath property, if used.")]
|
||||
public string SqliteConnectionString = "";
|
||||
|
||||
|
|
@ -553,6 +554,9 @@ namespace TShockAPI.Configuration
|
|||
/// <see cref="MySqlUsername"/>,
|
||||
/// and <see cref="MySqlPassword"/> properties, if used.
|
||||
/// </remarks>
|
||||
/// <seealso href="https://www.connectionstrings.com/mysql-connector-net-mysqlconnection/">
|
||||
/// Example MySQL connection strings (connectionstrings.com)
|
||||
/// </seealso>
|
||||
[Description("The connection string to use when connecting to a MySQL database. " +
|
||||
"This property will override the MySqlHost, MySqlDbName, MySqlUsername and MySqlPassword properties, if used.")]
|
||||
public string MySqlConnectionString = "";
|
||||
|
|
@ -583,6 +587,7 @@ namespace TShockAPI.Configuration
|
|||
/// <see cref="PostgresUsername"/>,
|
||||
/// and <see cref="PostgresPassword"/> properties, if used.
|
||||
/// </remarks>
|
||||
/// <seealso href="https://www.connectionstrings.com/npgsql/">Example Npgsql connection strings (connectionstrings.com)</seealso>
|
||||
[Description("The connection string to use when connecting to a Postgres database. " +
|
||||
"This property will override the PostgresHost, PostgresDbName, PostgresUsername and PostgresPassword properties, if used.")]
|
||||
public string PostgresConnectionString = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue