using FreeSql; using System.Threading.Tasks; namespace Admin.Core.Repository { public interface IRepositoryBase : IBaseRepository where TEntity : class { Task GetAsync(TKey id); /// /// 软删除 /// /// /// Task SoftDeleteAsync(TKey id); /// /// 批量删除 /// /// /// Task SoftDeleteAsync(TKey[] id); } public interface IRepositoryBase : IRepositoryBase where TEntity : class { } }