using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Volo.Abp.Domain.Entities; namespace JiShe.CollectBus.Cassandra { public interface ICassandraRepository where TEntity : class { Task GetAsync(TKey id); Task> GetListAsync(); Task InsertAsync(TEntity entity); Task UpdateAsync(TEntity entity); Task DeleteAsync(TEntity entity); Task DeleteAsync(TKey id); Task> GetPagedListAsync(int skipCount, int maxResultCount, string sorting); } }