mirror of
https://github.com/nsnail/NetAdmin.git
synced 2025-05-04 03:52:52 +08:00

* chore: 🔨 css 基础单位 [skip ci] * fix: 🐛 ca2263 System.Enum.GetValues<TEnum>() [skip ci] * feat: ✨ 前端表格高级筛选 [skip ci]
17 lines
517 B
C#
17 lines
517 B
C#
using NetAdmin.Domain.Contexts;
|
|
using NetAdmin.Domain.DbMaps.Dependency;
|
|
|
|
namespace NetAdmin.Application.Repositories;
|
|
|
|
/// <summary>
|
|
/// 默认仓储
|
|
/// </summary>
|
|
public sealed class DefaultRepository<TEntity>(IFreeSql fSql, UnitOfWorkManager uowManger, ContextUserToken userToken)
|
|
: DefaultRepository<TEntity, long>(fSql, uowManger)
|
|
where TEntity : EntityBase
|
|
{
|
|
/// <summary>
|
|
/// 当前上下文关联的用户令牌
|
|
/// </summary>
|
|
public ContextUserToken UserToken => userToken;
|
|
} |