diff --git a/aspnet-core/services/src/Lion.AbpPro.EntityFrameworkCore/EntityFrameworkCore/AbpProEntityFrameworkCoreModule.cs b/aspnet-core/services/src/Lion.AbpPro.EntityFrameworkCore/EntityFrameworkCore/AbpProEntityFrameworkCoreModule.cs index 71d9839ba..1110c83bb 100644 --- a/aspnet-core/services/src/Lion.AbpPro.EntityFrameworkCore/EntityFrameworkCore/AbpProEntityFrameworkCoreModule.cs +++ b/aspnet-core/services/src/Lion.AbpPro.EntityFrameworkCore/EntityFrameworkCore/AbpProEntityFrameworkCoreModule.cs @@ -1,3 +1,5 @@ +using Volo.Abp.Guids; + namespace Lion.AbpPro.EntityFrameworkCore { [DependsOn( @@ -23,6 +25,11 @@ public override void ConfigureServices(ServiceConfigurationContext context) options.AddDefaultRepositories(includeAllEntities: true); }); + Configure(options => + { + options.DefaultSequentialGuidType = SequentialGuidType.SequentialAsString; + }); + Configure(options => { /* The main point to change your DBMS.