mirror of https://github.com/abpframework/abp.git
10 changed files with 32 additions and 37 deletions
@ -1,11 +0,0 @@ |
|||||
namespace Volo.Abp.Identity |
|
||||
{ |
|
||||
public static class AbpIdentityConsts |
|
||||
{ |
|
||||
public const string DefaultDbTablePrefix = "Abp"; |
|
||||
|
|
||||
public const string DefaultDbSchema = null; |
|
||||
|
|
||||
public const string ConnectionStringName = "AbpIdentity"; |
|
||||
} |
|
||||
} |
|
||||
@ -0,0 +1,13 @@ |
|||||
|
using Volo.Abp.Data; |
||||
|
|
||||
|
namespace Volo.Abp.Identity |
||||
|
{ |
||||
|
public static class AbpIdentityDbProperties |
||||
|
{ |
||||
|
public static string DbTablePrefix { get; } = AbpCommonDbProperties.DbTablePrefix; |
||||
|
|
||||
|
public static string DbSchema { get; } = AbpCommonDbProperties.DbSchema; |
||||
|
|
||||
|
public const string ConnectionStringName = "AbpIdentity"; |
||||
|
} |
||||
|
} |
||||
@ -1,11 +1,12 @@ |
|||||
using Volo.Abp.MongoDB; |
using JetBrains.Annotations; |
||||
|
using Volo.Abp.MongoDB; |
||||
|
|
||||
namespace Volo.Abp.Identity.MongoDB |
namespace Volo.Abp.Identity.MongoDB |
||||
{ |
{ |
||||
public class IdentityMongoModelBuilderConfigurationOptions : MongoModelBuilderConfigurationOptions |
public class IdentityMongoModelBuilderConfigurationOptions : MongoModelBuilderConfigurationOptions |
||||
{ |
{ |
||||
public IdentityMongoModelBuilderConfigurationOptions() |
public IdentityMongoModelBuilderConfigurationOptions([NotNull] string collectionPrefix = "") |
||||
: base(AbpIdentityConsts.DefaultDbTablePrefix) |
: base(collectionPrefix) |
||||
{ |
{ |
||||
} |
} |
||||
} |
} |
||||
|
|||||
Loading…
Reference in new issue