public RoleRepository(PowerKeeperContext db) : base(db) { }
public OfficeRepository(PowerKeeperContext db) : base(db) { }
public ResourceRepository(PowerKeeperContext db) : base(db) { }
public StaffRepository(PowerKeeperContext db) : base(db) { _Db = db; }
public StaffRoleRepository(PowerKeeperContext context) : base(context) { }
//构造函数注入 public UnitOfWork(PowerKeeperContext context) { _context = context; TraceId = Guid.NewGuid().ToString(); }