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