diff --git a/Yi.Abp.Net8/framework/Yi.Framework.SqlSugarCore.Abstractions/ISqlSugarRepository.cs b/Yi.Abp.Net8/framework/Yi.Framework.SqlSugarCore.Abstractions/ISqlSugarRepository.cs index ba7d9f8b..d581f813 100644 --- a/Yi.Abp.Net8/framework/Yi.Framework.SqlSugarCore.Abstractions/ISqlSugarRepository.cs +++ b/Yi.Abp.Net8/framework/Yi.Framework.SqlSugarCore.Abstractions/ISqlSugarRepository.cs @@ -2,11 +2,12 @@ using SqlSugar; using Volo.Abp.Domain.Entities; using Volo.Abp.Domain.Repositories; +using Volo.Abp.Uow; namespace Yi.Framework.SqlSugarCore.Abstractions { - public interface ISqlSugarRepository:IRepository where TEntity : class, IEntity,new () + public interface ISqlSugarRepository:IRepository,IUnitOfWorkEnabled where TEntity : class, IEntity,new () { ISqlSugarClient _Db { get; } ISugarQueryable _DbQueryable { get; }