Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 3
0
 public void RecordShuffleModification (int trackId, ShuffleModificationType type)
 {
     ServiceManager.DbConnection.Execute (add_discard_cmd, this.DbId, DateTime.Now, (int)type, trackId);
 }
Esempio n. 4
0
 public void RecordShuffleModification(long trackId, ShuffleModificationType type)
 {
     ServiceManager.DbConnection.Execute(add_discard_cmd, this.DbId, DateTime.Now, (int)type, trackId);
 }