コード例 #1
0
 public void DeleteSongs(IEnumerable <Song> songs)
 {
     foreach (var song in songs)
     {
         EntityCollection.Delete(s => s == song);
     }
     _cache.Rebuild(EntityCollection.FindAll());
 }
コード例 #2
0
 public IEnumerable <Song> DoQuery()
 {
     return(EntityCollection.FindAll());
 }