namespace SJZY.Track.Domain; public interface IBasicQuery where T : IEntity { /// /// top 1 /// /// /// Task GetFirstAsync(Expression> whereExpression); Task GetFirstAsync(Expression> whereExpression, Expression> resultExpression); /// /// get list /// /// /// Task> GetListAsync(Expression> whereExpression); Task> GetListAsync(Expression> whereExpression, Expression> resultExpression); /// /// count /// /// /// Task CountAsync(Expression> exp); /// /// exists /// /// /// Task IsAnyAsync(Expression> exp); }