/// <summary> /// 增加 街道信息 /// </summary> public static AjaxResult AddStreet(NameValueCollection form) { var entity = new RentStreet(); entity.Load(form); entity.LDName = form["DistrictName"]; return(DB.InsertEntity <RentStreet>(entity)); }
public static AjaxResult UpdateStreet(RentStreet entity) { return(DB.UpdateEntity <RentStreet>(entity)); }
public static AjaxResult AddStreet(RentStreet entity) { return(DB.InsertEntity <RentStreet>(entity)); }