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