예제 #1
0
 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;
 }
예제 #2
0
 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));
 }