35 lines
983 B
C#
35 lines
983 B
C#
|
|
using Erp.SqlQueryManager.Domain.Shared;
|
||
|
|
using Volo.Abp.Domain;
|
||
|
|
using Volo.Abp.Localization;
|
||
|
|
using Volo.Abp.Localization.ExceptionHandling;
|
||
|
|
using Volo.Abp.Modularity;
|
||
|
|
using Volo.Abp.Validation;
|
||
|
|
using Volo.Abp.VirtualFileSystem;
|
||
|
|
|
||
|
|
namespace Erp.SqlQueryManager;
|
||
|
|
|
||
|
|
[DependsOn(
|
||
|
|
typeof(AbpValidationModule),
|
||
|
|
typeof(AbpDddDomainSharedModule)
|
||
|
|
)]
|
||
|
|
public class SqlQueryManagerDomainSharedModule : AbpModule
|
||
|
|
{
|
||
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
||
|
|
{
|
||
|
|
Configure<AbpVirtualFileSystemOptions>(options =>
|
||
|
|
{
|
||
|
|
options.FileSets.AddEmbedded<SqlQueryManagerDomainSharedModule>();
|
||
|
|
});
|
||
|
|
|
||
|
|
Configure<AbpLocalizationOptions>(options =>
|
||
|
|
{
|
||
|
|
options.Resources.Add<ErpSqlQueryManagerResource>("en");
|
||
|
|
});
|
||
|
|
|
||
|
|
Configure<AbpExceptionLocalizationOptions>(options =>
|
||
|
|
{
|
||
|
|
options.MapCodeNamespace("SqlQueryManager", typeof(ErpSqlQueryManagerResource));
|
||
|
|
});
|
||
|
|
}
|
||
|
|
}
|