Beispiel #1
0
 public void Persist(UserSongData data)
 {
     using (var con = new LiteDatabase(connectionPath)) {
         var col = con.GetCollection <UserSongData>();
         col.Update(data);
     }
 }
 public UserSongData(UserSongData d)
 {
     this.SongHash   = d.SongHash;
     this.StarCount  = d.StarCount;
     this.Categories = d.Categories;
 }