/
CoreTableNames.cs
31 lines (28 loc) · 1.39 KB
/
CoreTableNames.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
namespace cloudscribe.Core.Storage.EFCore.Common
{
/// <summary>
/// note that is is possible to register a custom instance of this class to be injected into SqlServerCoreModelMapper
/// but using custom tables names requires deleting all existing migrations and re-regenerating them
/// so you would probably want to fork this project to do that
/// </summary>
public class CoreTableNames
{
public CoreTableNames()
{
}
public string TablePrefix { get; set; } = "cs_";
public string SiteTableName { get; set; } = "Site";
public string SiteHostTableName { get; set; } = "SiteHost";
public string UserTableName { get; set; } = "User";
public string RoleTableName { get; set; } = "Role";
public string UserClaimTableName { get; set; } = "UserClaim";
public string UserLoginTableName { get; set; } = "UserLogin";
public string UserLocationTableName { get; set; } = "UserLocation";
public string UserRoleTableName { get; set; } = "UserRole";
public string UserTokenTableName { get; set; } = "UserToken";
public string GeoCountryTableName { get; set; } = "GeoCountry";
public string GeoZoneTableName { get; set; } = "GeoZone";
public string CurrencyTableName { get; set; } = "Currency";
public string LanguageTableName { get; set; } = "Language";
}
}