18 lines
470 B
C#
18 lines
470 B
C#
namespace Erp.MailQueue.Domain;
|
|
|
|
public static class Prefix
|
|
{
|
|
public static string MenuPrefix { get; set; } = "Plat";
|
|
public static string HostPrefix { get; set; } = "H";
|
|
public static string? DbSchema { get; set; } = null;
|
|
|
|
public const string ConnectionStringName = "Default";
|
|
}
|
|
|
|
public static class TablePrefix
|
|
{
|
|
public static string ByName(string tableName)
|
|
{
|
|
return $"{Prefix.MenuPrefix}_{Prefix.HostPrefix}_{tableName}";
|
|
}
|
|
}
|