Exemple #1
0
        static public bool RemoveItemId(MylistItemIdContainer item)
        {
            var db = HohoemaLiteDb.GetTempLiteRepository();

            return(db.Delete <MylistItemIdContainer>(x => x.VideoId == item.VideoId && x.MylistGroupId == item.MylistGroupId) > 0);
        }
Exemple #2
0
        static public void AddItemId(MylistItemIdContainer item)
        {
            var db = HohoemaLiteDb.GetTempLiteRepository();

            db.Upsert <MylistItemIdContainer>(item);
        }