コード例 #1
0
 public void Add(user_location loc)
 {
     db.user_locations.InsertOnSubmit(loc);
 }
コード例 #2
0
 public void UserLoc(int userID, string latval, string longval)
 {
     user_location newloc = new user_location();
     newloc.UserID = userID;
     newloc.LatVal = Convert.ToDecimal(latval);
     newloc.LongVal = Convert.ToDecimal(longval);
     db.user_locations.InsertOnSubmit(newloc);
     db.SubmitChanges();
 }
コード例 #3
0
 partial void Deleteuser_location(user_location instance);
コード例 #4
0
 partial void Updateuser_location(user_location instance);
コード例 #5
0
 partial void Insertuser_location(user_location instance);
コード例 #6
0
		private void detach_user_locations(user_location entity)
		{
			this.SendPropertyChanging();
			entity.User = null;
		}