public void Add(user_location loc)
 {
     db.user_locations.InsertOnSubmit(loc);
 }
 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();
 }
Exemplo n.º 3
0
 partial void Deleteuser_location(user_location instance);
Exemplo n.º 4
0
 partial void Updateuser_location(user_location instance);
Exemplo n.º 5
0
 partial void Insertuser_location(user_location instance);
Exemplo n.º 6
0
		private void detach_user_locations(user_location entity)
		{
			this.SendPropertyChanging();
			entity.User = null;
		}