Beispiel #1
0
 public static void AddFavStaff(int tid, int uid)
 {
     AnimeDataContext db = new AnimeDataContext();
     FavStaff adan = new FavStaff{ StaffID = tid, UserID = uid};
     db.FavStaffs.InsertOnSubmit(adan);
     db.SubmitChanges();
 }
Beispiel #2
0
 partial void DeleteFavStaff(FavStaff instance);
Beispiel #3
0
 partial void UpdateFavStaff(FavStaff instance);
Beispiel #4
0
 partial void InsertFavStaff(FavStaff instance);
Beispiel #5
0
		private void detach_FavStaffs(FavStaff entity)
		{
			this.SendPropertyChanging();
			entity.User = null;
		}
Beispiel #6
0
		private void attach_FavStaffs(FavStaff entity)
		{
			this.SendPropertyChanging();
			entity.User = this;
		}