Ejemplo n.º 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;
 }
Ejemplo n.º 2
0
 partial void DeleteUserLog(UserLog instance);
Ejemplo n.º 3
0
 partial void UpdateUserLog(UserLog instance);
Ejemplo n.º 4
0
 partial void InsertUserLog(UserLog instance);
Ejemplo n.º 5
0
		private void detach_UserLogs(UserLog entity)
		{
			this.SendPropertyChanging();
			entity.User = null;
		}
Ejemplo n.º 6
0
		private void attach_UserLogs(UserLog entity)
		{
			this.SendPropertyChanging();
			entity.User = this;
		}