public MusicsCollection<Musics> GetMusics(string sortExpression, Int32 maximumRows, Int32 startRowIndex, string categoryValue, string statusValue) { MusicsCollection<Musics> _mus = new MusicsCollection<Musics>(this.ConnectionString); _mus.LitePopulate(_mus.CreateArgumentList(sortExpression, maximumRows, startRowIndex, categoryValue, statusValue), false, null); return _mus; }
public Int32 GetMusicsCount(string sortExpression, Int32 maximumRows, Int32 startRowIndex, string categoryValue, string statusValue) { MusicsCollection<Musics> _mus = new MusicsCollection<Musics>(this.ConnectionString); return _mus.GetTotalByArgList(_mus.CreateArgumentList(sortExpression, maximumRows, startRowIndex, categoryValue, statusValue)); }