123456789101112131415161718192021222324252627282930 |
-
- using FreeSql;
- using System.Threading.Tasks;
- namespace Admin.Core.Repository
- {
- public interface IRepositoryBase<TEntity, TKey> : IBaseRepository<TEntity, TKey> where TEntity : class
- {
- Task<TDto> GetAsync<TDto>(TKey id);
-
-
-
-
-
- Task<bool> SoftDeleteAsync(TKey id);
-
-
-
-
-
- Task<bool> SoftDeleteAsync(TKey[] id);
- }
- public interface IRepositoryBase<TEntity> : IRepositoryBase<TEntity,long> where TEntity : class
- {
- }
- }
|