namespace ComputerSalesApp.Data;

internal static class ConnectionSettings
{
    public const string Schema = "ryzhov_ka";

    public const string ConnectionString =
        "Host=edu-pg.itiscaf.ru;" +
        "Port=5432;" +
        "Database=dbwork;" +
        "Username=ryzhov_ka;" +
        "Password=SQ%mfgrCC3&;" +
        "Search Path=ryzhov_ka,public;" +
        "Pooling=true;" +
        "Timeout=15;" +
        "Command Timeout=30;" +
        "Include Error Detail=true";

    public static string FullName(string objectName) => $"{Schema}.{objectName}";
}
