|
|
|
@ -8,6 +8,7 @@ using Volo.Abp.Autofac; |
|
|
|
using Volo.Abp.EntityFrameworkCore; |
|
|
|
using Volo.Abp.EntityFrameworkCore.SqlServer; |
|
|
|
using Volo.Abp.Modularity; |
|
|
|
using Volo.Abp.Uow; |
|
|
|
|
|
|
|
namespace AbpPerfTest.WithAbp |
|
|
|
{ |
|
|
|
@ -29,6 +30,11 @@ namespace AbpPerfTest.WithAbp |
|
|
|
{ |
|
|
|
options.UseSqlServer(); |
|
|
|
}); |
|
|
|
|
|
|
|
Configure<AbpUnitOfWorkDefaultOptions>(options => |
|
|
|
{ |
|
|
|
options.TransactionBehavior = UnitOfWorkTransactionBehavior.Disabled; |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
public override void OnApplicationInitialization(ApplicationInitializationContext context) |
|
|
|
|