mirror of https://github.com/abpframework/abp.git
10 changed files with 52 additions and 36 deletions
@ -1,11 +0,0 @@ |
|||||
namespace Volo.Abp.TenantManagement |
|
||||
{ |
|
||||
public static class AbpTenantManagementConsts |
|
||||
{ |
|
||||
public const string DefaultDbTablePrefix = "Abp"; |
|
||||
|
|
||||
public const string DefaultDbSchema = null; |
|
||||
|
|
||||
public const string ConnectionStringName = "AbpTenantManagement"; |
|
||||
} |
|
||||
} |
|
||||
@ -0,0 +1,13 @@ |
|||||
|
using Volo.Abp.Data; |
||||
|
|
||||
|
namespace Volo.Abp.TenantManagement |
||||
|
{ |
||||
|
public static class AbpTenantManagementDbProperties |
||||
|
{ |
||||
|
public static string DbTablePrefix { get; } = AbpCommonDbProperties.DbTablePrefix; |
||||
|
|
||||
|
public static string DbSchema { get; } = AbpCommonDbProperties.DbSchema; |
||||
|
|
||||
|
public const string ConnectionStringName = "AbpTenantManagement"; |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,18 @@ |
|||||
|
using JetBrains.Annotations; |
||||
|
using Volo.Abp.EntityFrameworkCore.Modeling; |
||||
|
|
||||
|
namespace Volo.Abp.TenantManagement.EntityFrameworkCore |
||||
|
{ |
||||
|
public class AbpTenantManagementModelBuilderConfigurationOptions : ModelBuilderConfigurationOptions |
||||
|
{ |
||||
|
public AbpTenantManagementModelBuilderConfigurationOptions( |
||||
|
[NotNull] string tablePrefix, |
||||
|
[CanBeNull] string schema) |
||||
|
: base( |
||||
|
tablePrefix, |
||||
|
schema) |
||||
|
{ |
||||
|
|
||||
|
} |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue