123456789101112131415 |
- using XF.Domain.Entities;
- namespace XF.Domain.Repository;
- //public interface IRepository<TEntity, TDbContext> : IRepositoryWithTKey<TEntity, string>
- // where TEntity : class, IEntity<string>
- // where TDbContext : class
- //{
- // public TDbContext DbContext { get; init; }
- //}
- public interface IRepository<TEntity> : IRepositorySqlSugar<TEntity>
- where TEntity : class, IEntity<string>, new()
- {
- }
|