// adds new list public static void AddAnimeList(int tid, int uid, int stat, int score, int eps) { AnimeDataContext db = new AnimeDataContext(); AnimeList adan = new AnimeList { TitleID = tid, UserID = uid, StatusID = stat, Score = score, EpsWatched = eps}; db.AnimeLists.InsertOnSubmit(adan); db.SubmitChanges(); }
private void detach_AnimeLists(AnimeList entity) { this.SendPropertyChanging(); entity.Anime = null; }
private void attach_AnimeLists(AnimeList entity) { this.SendPropertyChanging(); entity.Anime = this; }
partial void DeleteAnimeList(AnimeList instance);
partial void UpdateAnimeList(AnimeList instance);
partial void InsertAnimeList(AnimeList instance);