sozsoft-platform/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Domain/NotificationDbProperties.cs

19 lines
483 B
C#
Raw Normal View History

2026-02-24 20:44:16 +00:00
namespace Sozsoft.Notifications.Domain;
public static class Prefix
{
2026-03-01 21:54:46 +00:00
public static string MenuPrefix { get; set; } = "Sas";
2026-02-24 20:44:16 +00:00
public static string HostPrefix { get; set; } = "H";
public static string? DbSchema { get; set; } = null;
public const string ConnectionStringName = "Notifications";
}
public static class TablePrefix
{
public static string ByName(string tableName)
{
return $"{Prefix.MenuPrefix}_{Prefix.HostPrefix}_{tableName}";
}
}