Example #1
0
 public void RecordShuffleModifications (DatabaseTrackListModel model, RangeCollection.Range range, ShuffleModificationType type)
 {
     ServiceManager.DbConnection.Execute (String.Format ("{0} SELECT ?, ?, ?, {1}", modify_sql, model.TrackIdsSql),
                                          DbId, DateTime.Now, (int)type, model.CacheId, range.Start, range.Count);
 }
Example #2
0
 public void RecordShuffleModifications(DatabaseTrackListModel model, RangeCollection.Range range, ShuffleModificationType type)
 {
     ServiceManager.DbConnection.Execute(String.Format("{0} SELECT ?, ?, ?, {1}", modify_sql, model.TrackIdsSql),
                                         DbId, DateTime.Now, (int)type, model.CacheId, range.Start, range.Count);
 }
Example #3
0
 public void RecordShuffleModification (int trackId, ShuffleModificationType type)
 {
     ServiceManager.DbConnection.Execute (add_discard_cmd, this.DbId, DateTime.Now, (int)type, trackId);
 }
Example #4
0
 public void RecordShuffleModification(long trackId, ShuffleModificationType type)
 {
     ServiceManager.DbConnection.Execute(add_discard_cmd, this.DbId, DateTime.Now, (int)type, trackId);
 }