Beispiel #1
0
 public static void AddUserLog(int uid)
 {
     AnimeDataContext db = new AnimeDataContext();
     UserLog adusr = new UserLog { UserID = uid};
     db.UserLogs.InsertOnSubmit(adusr);
     db.SubmitChanges();
     lastid = uid;
 }
Beispiel #2
0
 partial void DeleteUserLog(UserLog instance);
Beispiel #3
0
 partial void UpdateUserLog(UserLog instance);
Beispiel #4
0
 partial void InsertUserLog(UserLog instance);
Beispiel #5
0
		private void detach_UserLogs(UserLog entity)
		{
			this.SendPropertyChanging();
			entity.User = null;
		}
Beispiel #6
0
		private void attach_UserLogs(UserLog entity)
		{
			this.SendPropertyChanging();
			entity.User = this;
		}