19 lines
477 B
C#
19 lines
477 B
C#
namespace Erp.SqlQueryManager;
|
|
|
|
public static class Prefix
|
|
{
|
|
public static string MenuPrefix { get; set; } = "Sqm";
|
|
public static string HostPrefix { get; set; } = "T";
|
|
public static string? DbSchema { get; set; } = null;
|
|
|
|
public const string ConnectionStringName = "SqlQueryManager";
|
|
}
|
|
|
|
public static class TablePrefix
|
|
{
|
|
public static string ByName(string tableName)
|
|
{
|
|
return $"{Prefix.MenuPrefix}_{Prefix.HostPrefix}_{tableName}";
|
|
}
|
|
}
|
|
|