You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
526 B
C#

using NPin.Framework.SqlSugarCore.Abstractions;
namespace NPin.Framework.TenantManagement.Domain;
public interface ISqlSugarTenantRepository : ISqlSugarRepository<TenantAggregateRoot, Guid>
{
Task<TenantAggregateRoot> FindByNameAsync(string name, bool includeDetails = true);
Task<List<TenantAggregateRoot>> GetListAsync(string sorting = null, int maxResultCount = int.MaxValue,
int skipCount = 0, string filter = null, bool includeDetails = false);
Task<long> GetCountAsync(string filter = null);
}