style: 修改codegen命名
This commit is contained in:
@@ -5,18 +5,18 @@ using Yi.Framework.AuditLogging.Domain.Repositories;
|
||||
using Yi.Framework.AuditLogging.SqlSugarCore.Repositories;
|
||||
using Yi.Framework.SqlSugarCore;
|
||||
|
||||
namespace Yi.AuditLogging.SqlSugarCore
|
||||
namespace Yi.Framework.AuditLogging.SqlSugarCore
|
||||
{
|
||||
[DependsOn(
|
||||
typeof(YiFrameworkAuditLoggingDomainModule),
|
||||
|
||||
|
||||
typeof(YiFrameworkSqlSugarCoreModule))]
|
||||
public class YiFrameworkAuditLoggingSqlSugarCoreModule : AbpModule
|
||||
{
|
||||
public override void ConfigureServices(ServiceConfigurationContext context)
|
||||
{
|
||||
{
|
||||
context.Services.AddTransient<IAuditLogRepository, SqlSugarCoreAuditLogRepository>();
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using Volo.Abp.Application.Dtos;
|
||||
using Yi.Framework.CodeGun.Domain.Shared.Enums;
|
||||
using Yi.Framework.CodeGen.Domain.Shared.Enums;
|
||||
|
||||
namespace Yi.Framework.CodeGun.Application.Contracts.Dtos.Field
|
||||
namespace Yi.Framework.CodeGen.Application.Contracts.Dtos.Field
|
||||
{
|
||||
public class FieldDto : EntityDto<Guid>
|
||||
{
|
||||
@@ -1,6 +1,6 @@
|
||||
using Volo.Abp.Application.Dtos;
|
||||
|
||||
namespace Yi.Framework.CodeGun.Application.Contracts.Dtos.Field
|
||||
namespace Yi.Framework.CodeGen.Application.Contracts.Dtos.Field
|
||||
{
|
||||
public class FieldGetListInput : PagedAndSortedResultRequestDto
|
||||
{
|
||||
@@ -1,7 +1,7 @@
|
||||
using Volo.Abp.Application.Dtos;
|
||||
using Yi.Framework.CodeGun.Application.Contracts.Dtos.Field;
|
||||
using Yi.Framework.CodeGen.Application.Contracts.Dtos.Field;
|
||||
|
||||
namespace Yi.Framework.CodeGun.Application.Contracts.Dtos.Table
|
||||
namespace Yi.Framework.CodeGen.Application.Contracts.Dtos.Table
|
||||
{
|
||||
public class TableDto : EntityDto<Guid>
|
||||
{
|
||||
@@ -1,6 +1,6 @@
|
||||
using Volo.Abp.Application.Dtos;
|
||||
|
||||
namespace Yi.Framework.CodeGun.Application.Contracts.Dtos.Table
|
||||
namespace Yi.Framework.CodeGen.Application.Contracts.Dtos.Table
|
||||
{
|
||||
public class TableGetListInput : PagedAndSortedResultRequestDto
|
||||
{
|
||||
@@ -1,6 +1,6 @@
|
||||
using Volo.Abp.Application.Dtos;
|
||||
|
||||
namespace Yi.Framework.CodeGun.Application.Contracts.Dtos.Template
|
||||
namespace Yi.Framework.CodeGen.Application.Contracts.Dtos.Template
|
||||
{
|
||||
public class TemplateDto : EntityDto<Guid>
|
||||
{
|
||||
@@ -1,6 +1,6 @@
|
||||
using Volo.Abp.Application.Dtos;
|
||||
|
||||
namespace Yi.Framework.CodeGun.Application.Contracts.Dtos.Template
|
||||
namespace Yi.Framework.CodeGen.Application.Contracts.Dtos.Template
|
||||
{
|
||||
public class TemplateGetListInput : PagedAndSortedResultRequestDto
|
||||
{
|
||||
@@ -0,0 +1,8 @@
|
||||
using Volo.Abp.Application.Services;
|
||||
|
||||
namespace Yi.Framework.CodeGen.Application.Contracts.IServices
|
||||
{
|
||||
public interface ICodeGenService : IApplicationService
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
using Yi.Framework.CodeGun.Application.Contracts.Dtos.Field;
|
||||
using Yi.Framework.CodeGen.Application.Contracts.Dtos.Field;
|
||||
using Yi.Framework.Ddd.Application.Contracts;
|
||||
|
||||
namespace Yi.Framework.CodeGun.Application.Contracts.IServices
|
||||
namespace Yi.Framework.CodeGen.Application.Contracts.IServices
|
||||
{
|
||||
public interface IFieldService : IYiCrudAppService<FieldDto, Guid, FieldGetListInput>
|
||||
{
|
||||
@@ -1,7 +1,7 @@
|
||||
using Yi.Framework.CodeGun.Application.Contracts.Dtos.Table;
|
||||
using Yi.Framework.CodeGen.Application.Contracts.Dtos.Table;
|
||||
using Yi.Framework.Ddd.Application.Contracts;
|
||||
|
||||
namespace Yi.Framework.CodeGun.Application.Contracts.IServices
|
||||
namespace Yi.Framework.CodeGen.Application.Contracts.IServices
|
||||
{
|
||||
public interface ITableService : IYiCrudAppService<TableDto, Guid, TableGetListInput>
|
||||
{
|
||||
@@ -1,7 +1,7 @@
|
||||
using Yi.Framework.CodeGun.Application.Contracts.Dtos.Template;
|
||||
using Yi.Framework.CodeGen.Application.Contracts.Dtos.Template;
|
||||
using Yi.Framework.Ddd.Application.Contracts;
|
||||
|
||||
namespace Yi.Framework.CodeGun.Application.Contracts.IServices
|
||||
namespace Yi.Framework.CodeGen.Application.Contracts.IServices
|
||||
{
|
||||
public interface ITemplateService : IYiCrudAppService<TemplateDto, Guid, TemplateGetListInput>
|
||||
{
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\framework\Yi.Framework.Ddd.Application.Contracts\Yi.Framework.Ddd.Application.Contracts.csproj" />
|
||||
<ProjectReference Include="..\Yi.Framework.CodeGun.Domain.Shared\Yi.Framework.CodeGun.Domain.Shared.csproj" />
|
||||
<ProjectReference Include="..\Yi.Framework.CodeGen.Domain.Shared\Yi.Framework.CodeGen.Domain.Shared.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,12 @@
|
||||
using Yi.Framework.CodeGen.Domain.Shared;
|
||||
using Yi.Framework.Ddd.Application.Contracts;
|
||||
|
||||
namespace Yi.Framework.CodeGen.Application.Contracts
|
||||
{
|
||||
[DependsOn(typeof(YiFrameworkCodeGenDomainSharedModule),
|
||||
typeof(YiFrameworkDddApplicationContractsModule))]
|
||||
public class YiFrameworkCodeGenApplicationContractsModule : AbpModule
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -3,22 +3,22 @@ using System.Runtime.InteropServices;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Volo.Abp.Application.Services;
|
||||
using Volo.Abp.Uow;
|
||||
using Yi.Framework.CodeGun.Application.Contracts.IServices;
|
||||
using Yi.Framework.CodeGun.Domain.Entities;
|
||||
using Yi.Framework.CodeGun.Domain.Managers;
|
||||
using Yi.Framework.CodeGen.Application.Contracts.IServices;
|
||||
using Yi.Framework.CodeGen.Domain.Entities;
|
||||
using Yi.Framework.CodeGen.Domain.Managers;
|
||||
using Yi.Framework.SqlSugarCore.Abstractions;
|
||||
|
||||
namespace Yi.Framework.CodeGun.Application.Services
|
||||
namespace Yi.Framework.CodeGen.Application.Services
|
||||
{
|
||||
/// <summary>
|
||||
/// CodeGun
|
||||
/// CodeGen
|
||||
/// </summary>
|
||||
public class CodeGunService : ApplicationService, ICodeGunService
|
||||
public class CodeGenService : ApplicationService, ICodeGenService
|
||||
{
|
||||
private ISqlSugarRepository<TableAggregateRoot, Guid> _tableRepository;
|
||||
private CodeFileManager _codeFileManager;
|
||||
private WebTemplateManager _webTemplateManager;
|
||||
public CodeGunService(ISqlSugarRepository<TableAggregateRoot, Guid> tableRepository, CodeFileManager codeFileManager, WebTemplateManager webTemplateManager)
|
||||
public CodeGenService(ISqlSugarRepository<TableAggregateRoot, Guid> tableRepository, CodeFileManager codeFileManager, WebTemplateManager webTemplateManager)
|
||||
{
|
||||
_tableRepository = tableRepository;
|
||||
_codeFileManager = codeFileManager;
|
||||
@@ -80,8 +80,8 @@ namespace Yi.Framework.CodeGun.Application.Services
|
||||
/// 打开目录
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpPost("code-gun/dir/{**path}")]
|
||||
public async Task PostDir([FromRoute]string path)
|
||||
[HttpPost("code-gen/dir/{**path}")]
|
||||
public async Task PostDir([FromRoute] string path)
|
||||
{
|
||||
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
|
||||
{
|
||||
@@ -6,14 +6,14 @@ using Newtonsoft.Json.Linq;
|
||||
using SqlSugar;
|
||||
using Volo.Abp.Application.Dtos;
|
||||
using Volo.Abp.Domain.Repositories;
|
||||
using Yi.Framework.CodeGun.Application.Contracts.Dtos.Field;
|
||||
using Yi.Framework.CodeGun.Application.Contracts.IServices;
|
||||
using Yi.Framework.CodeGun.Domain.Entities;
|
||||
using Yi.Framework.CodeGun.Domain.Shared.Enums;
|
||||
using Yi.Framework.CodeGen.Application.Contracts.Dtos.Field;
|
||||
using Yi.Framework.CodeGen.Application.Contracts.IServices;
|
||||
using Yi.Framework.CodeGen.Domain.Entities;
|
||||
using Yi.Framework.CodeGen.Domain.Shared.Enums;
|
||||
using Yi.Framework.Ddd.Application;
|
||||
using Yi.Framework.SqlSugarCore.Abstractions;
|
||||
|
||||
namespace Yi.Framework.CodeGun.Application.Services
|
||||
namespace Yi.Framework.CodeGen.Application.Services
|
||||
{
|
||||
/// <summary>
|
||||
/// 字段管理
|
||||
@@ -1,11 +1,11 @@
|
||||
using Volo.Abp.Application.Dtos;
|
||||
using Volo.Abp.Domain.Repositories;
|
||||
using Yi.Framework.CodeGun.Application.Contracts.Dtos.Table;
|
||||
using Yi.Framework.CodeGun.Application.Contracts.IServices;
|
||||
using Yi.Framework.CodeGun.Domain.Entities;
|
||||
using Yi.Framework.CodeGen.Application.Contracts.Dtos.Table;
|
||||
using Yi.Framework.CodeGen.Application.Contracts.IServices;
|
||||
using Yi.Framework.CodeGen.Domain.Entities;
|
||||
using Yi.Framework.Ddd.Application;
|
||||
|
||||
namespace Yi.Framework.CodeGun.Application.Services
|
||||
namespace Yi.Framework.CodeGen.Application.Services
|
||||
{
|
||||
public class TableService : YiCrudAppService<TableAggregateRoot, TableDto, Guid, TableGetListInput>, ITableService
|
||||
{
|
||||
@@ -1,16 +1,16 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using SqlSugar;
|
||||
using Volo.Abp.Application.Dtos;
|
||||
using Yi.Framework.CodeGun.Application.Contracts.Dtos.Template;
|
||||
using Yi.Framework.CodeGun.Application.Contracts.IServices;
|
||||
using Yi.Framework.CodeGun.Domain.Entities;
|
||||
using Yi.Framework.CodeGen.Application.Contracts.Dtos.Template;
|
||||
using Yi.Framework.CodeGen.Application.Contracts.IServices;
|
||||
using Yi.Framework.CodeGen.Domain.Entities;
|
||||
using Yi.Framework.Ddd.Application;
|
||||
using Yi.Framework.SqlSugarCore.Abstractions;
|
||||
|
||||
namespace Yi.Framework.CodeGun.Application.Services;
|
||||
namespace Yi.Framework.CodeGen.Application.Services;
|
||||
|
||||
public class TemplateService : YiCrudAppService<TemplateEntity, TemplateDto, Guid, TemplateGetListInput>, ITemplateService
|
||||
{
|
||||
{
|
||||
private ISqlSugarRepository<TemplateEntity, Guid> _repository;
|
||||
public TemplateService(ISqlSugarRepository<TemplateEntity, Guid> repository) : base(repository)
|
||||
{
|
||||
@@ -8,8 +8,8 @@
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\framework\Yi.Framework.Ddd.Application\Yi.Framework.Ddd.Application.csproj" />
|
||||
<ProjectReference Include="..\Yi.Framework.CodeGun.Application.Contracts\Yi.Framework.CodeGun.Application.Contracts.csproj" />
|
||||
<ProjectReference Include="..\Yi.Framework.CodeGun.Domain\Yi.Framework.CodeGun.Domain.csproj" />
|
||||
<ProjectReference Include="..\Yi.Framework.CodeGen.Application.Contracts\Yi.Framework.CodeGen.Application.Contracts.csproj" />
|
||||
<ProjectReference Include="..\Yi.Framework.CodeGen.Domain\Yi.Framework.CodeGen.Domain.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,14 @@
|
||||
using Yi.Framework.CodeGen.Application.Contracts;
|
||||
using Yi.Framework.CodeGen.Domain;
|
||||
using Yi.Framework.Ddd.Application;
|
||||
|
||||
namespace Yi.Framework.CodeGen.Application
|
||||
{
|
||||
[DependsOn(typeof(YiFrameworkCodeGenApplicationContractsModule),
|
||||
typeof(YiFrameworkCodeGenDomainModule),
|
||||
typeof(YiFrameworkDddApplicationModule))]
|
||||
public class YiFrameworkCodeGenApplicationModule : AbpModule
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -5,7 +5,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Yi.Framework.CodeGun.Domain.Shared.Enums
|
||||
namespace Yi.Framework.CodeGen.Domain.Shared.Enums
|
||||
{
|
||||
public enum FieldTypeEnum
|
||||
{
|
||||
@@ -1,10 +1,10 @@
|
||||
using Volo.Abp.Domain;
|
||||
using Volo.Abp.Modularity;
|
||||
|
||||
namespace Yi.Framework.CodeGun.Domain.Shared
|
||||
namespace Yi.Framework.CodeGen.Domain.Shared
|
||||
{
|
||||
[DependsOn(typeof(AbpDddDomainSharedModule))]
|
||||
public class YiFrameworkCodeGunDomainSharedModule:AbpModule
|
||||
public class YiFrameworkCodeGenDomainSharedModule : AbpModule
|
||||
{
|
||||
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
using SqlSugar;
|
||||
using Volo.Abp.Domain.Entities;
|
||||
using Yi.Framework.CodeGun.Domain.Shared.Enums;
|
||||
using Yi.Framework.CodeGen.Domain.Shared.Enums;
|
||||
|
||||
namespace Yi.Framework.CodeGun.Domain.Entities
|
||||
namespace Yi.Framework.CodeGen.Domain.Entities
|
||||
{
|
||||
[SugarTable("YiField")]
|
||||
public class FieldEntity : Entity<Guid>
|
||||
@@ -1,7 +1,7 @@
|
||||
using SqlSugar;
|
||||
using Volo.Abp.Domain.Entities;
|
||||
|
||||
namespace Yi.Framework.CodeGun.Domain.Entities
|
||||
namespace Yi.Framework.CodeGen.Domain.Entities
|
||||
{
|
||||
[SugarTable("YiTable")]
|
||||
public class TableAggregateRoot : AggregateRoot<Guid>
|
||||
@@ -1,7 +1,7 @@
|
||||
using SqlSugar;
|
||||
using Volo.Abp.Domain.Entities;
|
||||
|
||||
namespace Yi.Framework.CodeGun.Domain.Entities
|
||||
namespace Yi.Framework.CodeGen.Domain.Entities
|
||||
{
|
||||
[SugarTable("YiTemplate")]
|
||||
public class TemplateEntity : Entity<Guid>
|
||||
@@ -1,9 +1,9 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using Yi.Framework.CodeGun.Domain.Shared.Enums;
|
||||
using Yi.Framework.CodeGen.Domain.Shared.Enums;
|
||||
|
||||
namespace Yi.Framework.CodeGun.Domain.Handlers
|
||||
namespace Yi.Framework.CodeGen.Domain.Handlers
|
||||
{
|
||||
public class FieldTemplateHandler : TemplateHandlerBase, ITemplateHandler
|
||||
{
|
||||
@@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Yi.Framework.CodeGun.Domain.Handlers
|
||||
namespace Yi.Framework.CodeGen.Domain.Handlers
|
||||
{
|
||||
public class HandledTemplate
|
||||
{
|
||||
@@ -1,9 +1,9 @@
|
||||
using Volo.Abp.DependencyInjection;
|
||||
using Yi.Framework.CodeGun.Domain.Entities;
|
||||
using Yi.Framework.CodeGen.Domain.Entities;
|
||||
|
||||
namespace Yi.Framework.CodeGun.Domain.Handlers
|
||||
namespace Yi.Framework.CodeGen.Domain.Handlers
|
||||
{
|
||||
public interface ITemplateHandler: ISingletonDependency
|
||||
public interface ITemplateHandler : ISingletonDependency
|
||||
{
|
||||
void SetTable(TableAggregateRoot table);
|
||||
HandledTemplate Invoker(string str, string path);
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace Yi.Framework.CodeGun.Domain.Handlers
|
||||
namespace Yi.Framework.CodeGen.Domain.Handlers
|
||||
{
|
||||
public class ModelTemplateHandler : TemplateHandlerBase, ITemplateHandler
|
||||
{
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace Yi.Framework.CodeGun.Domain.Handlers
|
||||
namespace Yi.Framework.CodeGen.Domain.Handlers
|
||||
{
|
||||
public class NameSpaceTemplateHandler : TemplateHandlerBase, ITemplateHandler
|
||||
{
|
||||
@@ -1,6 +1,6 @@
|
||||
using Yi.Framework.CodeGun.Domain.Entities;
|
||||
using Yi.Framework.CodeGen.Domain.Entities;
|
||||
|
||||
namespace Yi.Framework.CodeGun.Domain.Handlers
|
||||
namespace Yi.Framework.CodeGen.Domain.Handlers
|
||||
{
|
||||
public class TemplateHandlerBase
|
||||
{
|
||||
@@ -1,9 +1,9 @@
|
||||
using Volo.Abp.Domain.Services;
|
||||
using Yi.Framework.CodeGun.Domain.Entities;
|
||||
using Yi.Framework.CodeGun.Domain.Handlers;
|
||||
using Yi.Framework.CodeGen.Domain.Entities;
|
||||
using Yi.Framework.CodeGen.Domain.Handlers;
|
||||
using Yi.Framework.SqlSugarCore.Abstractions;
|
||||
|
||||
namespace Yi.Framework.CodeGun.Domain.Managers
|
||||
namespace Yi.Framework.CodeGen.Domain.Managers
|
||||
{
|
||||
/// <summary>
|
||||
/// 代码文件领域服务,与代码文件生成相关,web to code
|
||||
@@ -1,6 +1,6 @@
|
||||
using Volo.Abp.Domain.Services;
|
||||
|
||||
namespace Yi.Framework.CodeGun.Domain.Managers
|
||||
namespace Yi.Framework.CodeGen.Domain.Managers
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据库领域服务,与数据库相关,同步到数据库,web to db ,code to db
|
||||
@@ -2,11 +2,11 @@
|
||||
using System.Reflection;
|
||||
using SqlSugar;
|
||||
using Volo.Abp.Domain.Services;
|
||||
using Yi.Framework.CodeGun.Domain.Entities;
|
||||
using Yi.Framework.CodeGun.Domain.Shared.Enums;
|
||||
using Yi.Framework.CodeGen.Domain.Entities;
|
||||
using Yi.Framework.CodeGen.Domain.Shared.Enums;
|
||||
using Yi.Framework.SqlSugarCore.Abstractions;
|
||||
|
||||
namespace Yi.Framework.CodeGun.Domain.Managers
|
||||
namespace Yi.Framework.CodeGen.Domain.Managers
|
||||
{
|
||||
/// <summary>
|
||||
/// 与webfrist相关,同步到web,code to web
|
||||
@@ -18,7 +18,7 @@ namespace Yi.Framework.CodeGun.Domain.Managers
|
||||
public WebTemplateManager(ISqlSugarRepository<TableAggregateRoot> repository, IModuleContainer moduleContainer)
|
||||
{
|
||||
_repository = repository;
|
||||
_moduleContainer= moduleContainer;
|
||||
_moduleContainer = moduleContainer;
|
||||
}
|
||||
/// <summary>
|
||||
/// 通过当前的实体代码获取表存储
|
||||
@@ -17,6 +17,6 @@
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\framework\Yi.Framework.SqlSugarCore.Abstractions\Yi.Framework.SqlSugarCore.Abstractions.csproj" />
|
||||
<ProjectReference Include="..\Yi.Framework.CodeGun.Domain.Shared\Yi.Framework.CodeGun.Domain.Shared.csproj" />
|
||||
<ProjectReference Include="..\Yi.Framework.CodeGen.Domain.Shared\Yi.Framework.CodeGen.Domain.Shared.csproj" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -1,14 +1,14 @@
|
||||
using Volo.Abp.Domain;
|
||||
using Volo.Abp.Modularity;
|
||||
using Yi.Framework.CodeGun.Domain.Shared;
|
||||
using Yi.Framework.CodeGen.Domain.Shared;
|
||||
using Yi.Framework.SqlSugarCore.Abstractions;
|
||||
|
||||
namespace Yi.Framework.CodeGun.Domain
|
||||
namespace Yi.Framework.CodeGen.Domain
|
||||
{
|
||||
[DependsOn(typeof(YiFrameworkCodeGunDomainSharedModule),
|
||||
[DependsOn(typeof(YiFrameworkCodeGenDomainSharedModule),
|
||||
typeof(AbpDddDomainModule),
|
||||
typeof(YiFrameworkSqlSugarCoreAbstractionsModule))]
|
||||
public class YiFrameworkCodeGunDomainModule : AbpModule
|
||||
public class YiFrameworkCodeGenDomainModule : AbpModule
|
||||
{
|
||||
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
using Volo.Abp.Application.Services;
|
||||
|
||||
namespace Yi.Framework.CodeGun.Application.Contracts.IServices
|
||||
{
|
||||
public interface ICodeGunService : IApplicationService
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
using Yi.Framework.CodeGun.Domain.Shared;
|
||||
using Yi.Framework.Ddd.Application.Contracts;
|
||||
|
||||
namespace Yi.Framework.CodeGun.Application.Contracts
|
||||
{
|
||||
[DependsOn(typeof(YiFrameworkCodeGunDomainSharedModule),
|
||||
typeof(YiFrameworkDddApplicationContractsModule))]
|
||||
public class YiFrameworkCodeGunApplicationContractsModule:AbpModule
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
using Yi.Framework.CodeGun.Application.Contracts;
|
||||
using Yi.Framework.CodeGun.Domain;
|
||||
using Yi.Framework.Ddd.Application;
|
||||
|
||||
namespace Yi.Framework.CodeGun.Application
|
||||
{
|
||||
[DependsOn(typeof(YiFrameworkCodeGunApplicationContractsModule),
|
||||
typeof(YiFrameworkCodeGunDomainModule),
|
||||
typeof(YiFrameworkDddApplicationModule))]
|
||||
public class YiFrameworkCodeGunApplicationModule : AbpModule
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -5,8 +5,9 @@ using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Options;
|
||||
using Volo.Abp.Data;
|
||||
using Volo.Abp.DependencyInjection;
|
||||
using Volo.Abp.MultiTenancy;
|
||||
|
||||
namespace Volo.Abp.MultiTenancy;
|
||||
namespace Yi.Framework.TenantManagement.Domain;
|
||||
|
||||
[Dependency(ReplaceServices = true)]
|
||||
public class YiMultiTenantConnectionStringResolver : DefaultConnectionStringResolver
|
||||
|
||||
Reference in New Issue
Block a user