Skip to content

Commit

Permalink
Add UnitOfWorkManager service
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyunchong committed Mar 16, 2024
1 parent a6439c6 commit 17946bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/LinCms.Web/Startup/ServiceCollectionExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ public static IServiceCollection AddFreeSql(this IServiceCollection services, IC
services.AddSingleton(fsql);

services.AddFreeKitCore(typeof(long));
services.AddUnitOfWorkManager();

services.Configure<UnitOfWorkDefaultOptions>(u =>
{
Expand Down

0 comments on commit 17946bd

Please sign in to comment.