mirror of https://github.com/abpframework/abp.git
10 changed files with 59 additions and 43 deletions
@ -1,12 +0,0 @@ |
|||||
|
|
||||
namespace Volo.Abp.AuditLogging |
|
||||
{ |
|
||||
public static class AbpAuditLoggingConsts |
|
||||
{ |
|
||||
public const string DefaultDbTablePrefix = "Abp"; |
|
||||
|
|
||||
public const string DefaultDbSchema = null; |
|
||||
|
|
||||
public const string ConnectionStringName = "AbpAuditLogging"; |
|
||||
} |
|
||||
} |
|
||||
@ -0,0 +1,13 @@ |
|||||
|
using Volo.Abp.Data; |
||||
|
|
||||
|
namespace Volo.Abp.AuditLogging |
||||
|
{ |
||||
|
public static class AbpAuditLoggingDbProperties |
||||
|
{ |
||||
|
public static string DbTablePrefix { get; } = AbpCommonDbProperties.DbTablePrefix; |
||||
|
|
||||
|
public static string DbSchema { get; } = AbpCommonDbProperties.DbSchema; |
||||
|
|
||||
|
public const string ConnectionStringName = "AbpAuditLogging"; |
||||
|
} |
||||
|
} |
||||
27
modules/audit-logging/src/Volo.Abp.AuditLogging.EntityFrameworkCore/Volo/Abp/AuditLogging/EntityFrameworkCore/AbpAuditLoggingtDbContextModelBuilderExtensions.cs → modules/audit-logging/src/Volo.Abp.AuditLogging.EntityFrameworkCore/Volo/Abp/AuditLogging/EntityFrameworkCore/AbpAuditLoggingDbContextModelBuilderExtensions.cs
27
modules/audit-logging/src/Volo.Abp.AuditLogging.EntityFrameworkCore/Volo/Abp/AuditLogging/EntityFrameworkCore/AbpAuditLoggingtDbContextModelBuilderExtensions.cs → modules/audit-logging/src/Volo.Abp.AuditLogging.EntityFrameworkCore/Volo/Abp/AuditLogging/EntityFrameworkCore/AbpAuditLoggingDbContextModelBuilderExtensions.cs
@ -0,0 +1,18 @@ |
|||||
|
using JetBrains.Annotations; |
||||
|
using Volo.Abp.EntityFrameworkCore.Modeling; |
||||
|
|
||||
|
namespace Volo.Abp.Identity.EntityFrameworkCore |
||||
|
{ |
||||
|
public class AbpAuditLoggingModelBuilderConfigurationOptions : ModelBuilderConfigurationOptions |
||||
|
{ |
||||
|
public AbpAuditLoggingModelBuilderConfigurationOptions( |
||||
|
[NotNull] string tablePrefix, |
||||
|
[CanBeNull] string schema) |
||||
|
: base( |
||||
|
tablePrefix, |
||||
|
schema) |
||||
|
{ |
||||
|
|
||||
|
} |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue