/// <summary> /// 增加一条数据 /// </summary> public bool Add(NAIS.Model.AIRPORT model) { return(dal.Add(model)); }
/// <summary> /// 更新一条数据 /// </summary> public bool Update(NAIS.Model.AIRPORT model) { return(dal.Update(model)); }
public static void Convert_Lng_Lat_Of_Model(NAIS.Model.AIRPORT aIRPORT) { aIRPORT.LONGITUDE = Longitude.Parse(aIRPORT.LONGITUDE.ToString(), aIRPORT.EAST_OR_WEST).ToString(); aIRPORT.LATITUDE = Latitude.Parse(aIRPORT.LATITUDE.ToString(), aIRPORT.SOUTH_OR_NORTH).ToString(); }