persistence/Persistence.IntegrationTests/DbConnection.cs
Оля Бизюкова 47820ba32a - Editorconfig
- Файл со словами-исключениями в spellchecker
2024-12-09 13:19:55 +05:00

15 lines
454 B
C#

namespace Persistence.IntegrationTests;
public class DbConnection
{
public string Host { get; set; } = null!;
public int Port { get; set; }
public string Username { get; set; } = null!;
public string Password { get; set; } = null!;
public string GetConnectionString() =>
$"Host={Host};Database={Guid.NewGuid()};Port={Port};Username={Username};Password={Password};Persist Security Info=True;Include Error Detail=True";
}