19 lines
468 B
C#
19 lines
468 B
C#
|
|
namespace Erp.Reports.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 = "Reports";
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public static class TablePrefix
|
|||
|
|
{
|
|||
|
|
public static string ByName(string tableName)
|
|||
|
|
{
|
|||
|
|
return $"{Prefix.MenuPrefix}_{Prefix.HostPrefix}_{tableName}";
|
|||
|
|
}
|
|||
|
|
}
|