Esempio n. 1
0
 // 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();
 }
Esempio n. 2
0
		private void detach_AnimeLists(AnimeList entity)
		{
			this.SendPropertyChanging();
			entity.Anime = null;
		}
Esempio n. 3
0
		private void attach_AnimeLists(AnimeList entity)
		{
			this.SendPropertyChanging();
			entity.Anime = this;
		}
Esempio n. 4
0
 partial void DeleteAnimeList(AnimeList instance);
Esempio n. 5
0
 partial void UpdateAnimeList(AnimeList instance);
Esempio n. 6
0
 partial void InsertAnimeList(AnimeList instance);