IRepository.cs 411 B

123456789101112131415
  1. using XF.Domain.Entities;
  2. namespace XF.Domain.Repository;
  3. //public interface IRepository<TEntity, TDbContext> : IRepositoryWithTKey<TEntity, string>
  4. // where TEntity : class, IEntity<string>
  5. // where TDbContext : class
  6. //{
  7. // public TDbContext DbContext { get; init; }
  8. //}
  9. public interface IRepository<TEntity> : IRepositorySqlSugar<TEntity>
  10. where TEntity : class, IEntity<string>, new()
  11. {
  12. }