Browse Source

Create AbpCommonDbProperties as a single point to set table prefix for modules. #1429

pull/1904/head
Halil İbrahim Kalkan 7 years ago
parent
commit
f67de232b7
  1. 18
      framework/src/Volo.Abp.Data/Volo/Abp/Data/AbpCommonDbProperties.cs

18
framework/src/Volo.Abp.Data/Volo/Abp/Data/AbpCommonDbProperties.cs

@ -0,0 +1,18 @@
namespace Volo.Abp.Data
{
public static class AbpCommonDbProperties
{
/// <summary>
/// This table prefix is shared by most of the ABP modules.
/// You can change it to set table prefix for all modules using this.
///
/// Default value: "Abp".
/// </summary>
public static string DbTablePrefix { get; } = "Abp";
/// <summary>
/// Default value: null.
/// </summary>
public static string DbSchema { get; } = null;
}
}
Loading…
Cancel
Save