From 96f0bcc61c69c13ff3494f29f9bc4c50abc50794 Mon Sep 17 00:00:00 2001 From: colin Date: Mon, 22 Jun 2026 14:02:27 +0800 Subject: [PATCH] feat: Reference to the move contract layer --- .../BackendAdminDbMigratorModule.cs | 46 ++++++++++++++++++- ...icroService.BackendAdmin.DbMigrator.csproj | 27 +++++++++++ ...dminMigrationsEntityFrameworkCoreModule.cs | 46 +------------------ ...ce.BackendAdmin.EntityFrameworkCore.csproj | 27 ----------- 4 files changed, 73 insertions(+), 73 deletions(-) diff --git a/aspnet-core/migrations/LY.MicroService.BackendAdmin.DbMigrator/BackendAdminDbMigratorModule.cs b/aspnet-core/migrations/LY.MicroService.BackendAdmin.DbMigrator/BackendAdminDbMigratorModule.cs index 023015c96..806d75ad8 100644 --- a/aspnet-core/migrations/LY.MicroService.BackendAdmin.DbMigrator/BackendAdminDbMigratorModule.cs +++ b/aspnet-core/migrations/LY.MicroService.BackendAdmin.DbMigrator/BackendAdminDbMigratorModule.cs @@ -1,9 +1,53 @@ -using LY.MicroService.BackendAdmin.EntityFrameworkCore; +using LINGYUN.Abp.Account; +using LINGYUN.Abp.Auditing; +using LINGYUN.Abp.BlobManagement; +using LINGYUN.Abp.CachingManagement; +using LINGYUN.Abp.DataProtectionManagement; +using LINGYUN.Abp.FeatureManagement; +using LINGYUN.Abp.Gdpr; +using LINGYUN.Abp.Identity; +using LINGYUN.Abp.LocalizationManagement; +using LINGYUN.Abp.MessageService; +using LINGYUN.Abp.Notifications; +using LINGYUN.Abp.OpenIddict; +using LINGYUN.Abp.PermissionManagement; +using LINGYUN.Abp.ProjectManagement; +using LINGYUN.Abp.RulesEngineManagement; +using LINGYUN.Abp.Saas; +using LINGYUN.Abp.SettingManagement; +using LINGYUN.Abp.TaskManagement; +using LINGYUN.Abp.TextTemplating; +using LINGYUN.Abp.WebhooksManagement; +using LINGYUN.Platform; +using LY.MicroService.BackendAdmin.EntityFrameworkCore; using Volo.Abp.Autofac; using Volo.Abp.Modularity; namespace LY.MicroService.BackendAdmin.DbMigrator; +[DependsOn( + typeof(AbpSettingManagementApplicationContractsModule), + typeof(AbpAccountApplicationContractsModule), + typeof(AbpAuditingApplicationContractsModule), + typeof(AbpCachingManagementApplicationContractsModule), + typeof(AbpDataProtectionManagementApplicationContractsModule), + typeof(AbpFeatureManagementApplicationContractsModule), + typeof(AbpGdprApplicationContractsModule), + typeof(AbpIdentityApplicationContractsModule), + typeof(AbpLocalizationManagementApplicationContractsModule), + typeof(AbpOpenIddictApplicationContractsModule), + typeof(AbpBlobManagementApplicationContractsModule), + typeof(AbpPermissionManagementApplicationContractsModule), + typeof(PlatformApplicationContractModule), + typeof(AbpProjectManagementApplicationContractsModule), + typeof(AbpMessageServiceApplicationContractsModule), + typeof(AbpNotificationsApplicationContractsModule), + typeof(RulesEngineManagementApplicationContractsModule), + typeof(AbpSaasApplicationContractsModule), + typeof(TaskManagementApplicationContractsModule), + typeof(AbpTextTemplatingApplicationContractsModule), + typeof(WebhooksManagementApplicationContractsModule))] + [DependsOn( typeof(BackendAdminMigrationsEntityFrameworkCoreModule), typeof(AbpAutofacModule) diff --git a/aspnet-core/migrations/LY.MicroService.BackendAdmin.DbMigrator/LY.MicroService.BackendAdmin.DbMigrator.csproj b/aspnet-core/migrations/LY.MicroService.BackendAdmin.DbMigrator/LY.MicroService.BackendAdmin.DbMigrator.csproj index dda44babf..deba1dc7b 100644 --- a/aspnet-core/migrations/LY.MicroService.BackendAdmin.DbMigrator/LY.MicroService.BackendAdmin.DbMigrator.csproj +++ b/aspnet-core/migrations/LY.MicroService.BackendAdmin.DbMigrator/LY.MicroService.BackendAdmin.DbMigrator.csproj @@ -32,6 +32,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/aspnet-core/migrations/LY.MicroService.BackendAdmin.EntityFrameworkCore/BackendAdminMigrationsEntityFrameworkCoreModule.cs b/aspnet-core/migrations/LY.MicroService.BackendAdmin.EntityFrameworkCore/BackendAdminMigrationsEntityFrameworkCoreModule.cs index f4073951f..dbefbdb2d 100644 --- a/aspnet-core/migrations/LY.MicroService.BackendAdmin.EntityFrameworkCore/BackendAdminMigrationsEntityFrameworkCoreModule.cs +++ b/aspnet-core/migrations/LY.MicroService.BackendAdmin.EntityFrameworkCore/BackendAdminMigrationsEntityFrameworkCoreModule.cs @@ -1,30 +1,9 @@ -using LINGYUN.Abp.Account; -using LINGYUN.Abp.Auditing; -using LINGYUN.Abp.BlobManagement; -using LINGYUN.Abp.CachingManagement; -using LINGYUN.Abp.Data.DbMigrator; -using LINGYUN.Abp.DataProtectionManagement; +using LINGYUN.Abp.Data.DbMigrator; using LINGYUN.Abp.DataProtectionManagement.EntityFrameworkCore; using LINGYUN.Abp.EntityFrameworkCore.MySQL; -using LINGYUN.Abp.FeatureManagement; -using LINGYUN.Abp.Gdpr; -using LINGYUN.Abp.Identity; -using LINGYUN.Abp.LocalizationManagement; -using LINGYUN.Abp.MessageService; -using LINGYUN.Abp.Notifications; -using LINGYUN.Abp.OpenIddict; -using LINGYUN.Abp.PermissionManagement; using LINGYUN.Abp.PermissionManagement.EntityFrameworkCore; -using LINGYUN.Abp.ProjectManagement; -using LINGYUN.Abp.RulesEngineManagement; -using LINGYUN.Abp.Saas; using LINGYUN.Abp.Saas.EntityFrameworkCore; -using LINGYUN.Abp.SettingManagement; -using LINGYUN.Abp.TaskManagement; -using LINGYUN.Abp.TextTemplating; using LINGYUN.Abp.TextTemplating.EntityFrameworkCore; -using LINGYUN.Abp.WebhooksManagement; -using LINGYUN.Platform; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using Volo.Abp.EntityFrameworkCore; @@ -34,29 +13,6 @@ using Volo.Abp.SettingManagement.EntityFrameworkCore; namespace LY.MicroService.BackendAdmin.EntityFrameworkCore; -[DependsOn( - typeof(AbpSettingManagementApplicationContractsModule), - typeof(AbpAccountApplicationContractsModule), - typeof(AbpAuditingApplicationContractsModule), - typeof(AbpCachingManagementApplicationContractsModule), - typeof(AbpDataProtectionManagementApplicationContractsModule), - typeof(AbpFeatureManagementApplicationContractsModule), - typeof(AbpGdprApplicationContractsModule), - typeof(AbpIdentityApplicationContractsModule), - typeof(AbpLocalizationManagementApplicationContractsModule), - typeof(AbpOpenIddictApplicationContractsModule), - typeof(AbpBlobManagementApplicationContractsModule), - typeof(AbpPermissionManagementApplicationContractsModule), - typeof(PlatformApplicationContractModule), - typeof(AbpProjectManagementApplicationContractsModule), - typeof(AbpMessageServiceApplicationContractsModule), - typeof(AbpNotificationsApplicationContractsModule), - typeof(RulesEngineManagementApplicationContractsModule), - typeof(AbpSaasApplicationContractsModule), - typeof(TaskManagementApplicationContractsModule), - typeof(AbpTextTemplatingApplicationContractsModule), - typeof(WebhooksManagementApplicationContractsModule))] - [DependsOn( typeof(AbpSaasEntityFrameworkCoreModule), typeof(AbpSettingManagementEntityFrameworkCoreModule), diff --git a/aspnet-core/migrations/LY.MicroService.BackendAdmin.EntityFrameworkCore/LY.MicroService.BackendAdmin.EntityFrameworkCore.csproj b/aspnet-core/migrations/LY.MicroService.BackendAdmin.EntityFrameworkCore/LY.MicroService.BackendAdmin.EntityFrameworkCore.csproj index a32353243..389d931d4 100644 --- a/aspnet-core/migrations/LY.MicroService.BackendAdmin.EntityFrameworkCore/LY.MicroService.BackendAdmin.EntityFrameworkCore.csproj +++ b/aspnet-core/migrations/LY.MicroService.BackendAdmin.EntityFrameworkCore/LY.MicroService.BackendAdmin.EntityFrameworkCore.csproj @@ -18,33 +18,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - -