Beispiel #1
0
 public static void AddFavManga(int tid, int uid)
 {
     AnimeDataContext db = new AnimeDataContext();
     FavManga adan = new FavManga { MangaID = tid, UserID = uid };
     db.FavMangas.InsertOnSubmit(adan);
     db.SubmitChanges();
 }
Beispiel #2
0
 partial void DeleteFavManga(FavManga instance);
Beispiel #3
0
 partial void UpdateFavManga(FavManga instance);
Beispiel #4
0
 partial void InsertFavManga(FavManga instance);
Beispiel #5
0
		private void detach_FavMangas(FavManga entity)
		{
			this.SendPropertyChanging();
			entity.User = null;
		}
Beispiel #6
0
		private void attach_FavMangas(FavManga entity)
		{
			this.SendPropertyChanging();
			entity.User = this;
		}