21 lines
592 B
C#
21 lines
592 B
C#
using Yi.Framework.SqlSugarCore.Abstractions;
|
|
|
|
namespace Yi.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);
|
|
|
|
}
|
|
}
|